摘要:
#!/bin/bash touch /tmp/sn2 /tmp/sn4 /tmp/sn6 /tmp/sn3 redir=/dev/null which lsof >&/dev/null lsofs=$? def=$1 [ x"$def" == x ] && def=5 [ $lsofs -ne 0 ] && def=$(($def-4)) [ $def -lt 1 ] && def=1 whil... 阅读全文
摘要:
#!/bin/bash touch /tmp/sn2 /tmp/sn4 /tmp/sn6 /tmp/sn3 redir=/dev/null which lsof >&/dev/null lsofs=$? def=$1 [ x"$def" == x ] && def=5 [ $lsofs -ne 0 ] && def=$(($def-4)) [ $def -lt 1 ] && def=1 whil... 阅读全文
摘要:
#!/bin/bash #Auther Sun Ying ##Copy left ##Version: Demo Version ##Basic Compare the datebase changes #ER=`whoami` #if [ $USER != "postgres" ];then # echo -e "\033[31mWrong User,please use... 阅读全文
|