全部博文(168)
发布时间:2014-11-07 15:10:37
enable_coredump() { ulimit -SHc unlimited sed -i 's/${DAEMON_COREFILE_LIMIT:-0}/unlimited/' /etc/init.d/function echo 1 >/proc/sys/kernel/core_uses_pid .........【阅读全文】
发布时间:2013-12-31 19:24:26
点击(此处)折叠或打开#! /bin/sh#caipiao () { awk -v type=$1 ' function sort(ARRAY, ELEMENTS, temp, i, j) { for (i = 2; i <= ELEMENTS; ++.........【阅读全文】
发布时间:2013-10-01 09:46:30
http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in......【阅读全文】
发布时间:2013-09-27 16:06:51
点击(此处)折叠或打开#1、strip_c_comment1.awk 正则方法BEGIN { ORS = "" }{ code = code $0 "\n" }END { while ( length(code) ) &nbs.........【阅读全文】
发布时间:2013-09-25 10:57:34
点击(此处)折叠或打开# cat /usr/local/bin/xmlrpc-client.sh#!/bin/bash# author jiyin@redhat.comTEMP=`getopt -o vt: --long target -n 'example.bash' -- "$@"`if [ $? != 0 ] ; then echo "getopt fail, terminating...".........【阅读全文】