原创 sed grep 精確匹配

sed -n '/\bstart)/a \\t#check that portmap or rpcbind is up \n\t/etc/init.d/portmap status \n\t[ $? -ne 0 ] && /etc/init

原创 open***的安裝配置

http://blog.sina.com.cn/s/blog_6151984a0100eyrv.html

原创 mailx 12.5源碼安裝配置及下載

原文:http://blog.chinaunix.net/uid-25326-id-251669.html源碼包下載地址:http://down.51cto.com/data/852581 使用mailx發送電子郵件(轉貼)mailx是一個

原创 python sftp 的使用

1、paramiko支持    官網:http://www.lag.net/paramiko/    下載地址:https://github.com/paramiko/paramiko/archive/master.zip        #

原创 python獲取日期及格式化輸出

# 獲取日期: importdatetime #調用事件模塊 today =datetime.date.today() #獲取今天日期 deltadays =datetime.timedelta(days=1) #確