find,查找php文件,过滤stocklist目录

# find ./   -path "./stocklist" -prune -o -type f  -name "*.php" -print

根据inode删除文件
find . -inum 3587470 | xargs rm -rf

30分钟正则表达式
http://www.cnblogs.com/deerchao/archive/2006/08/24/zhengzhe30fengzhongjiaocheng.html

http://exchange.nagios.org/
 
# mail -s "use testuser01" xxxx@126.com -- -f testuser01@xiaodidi.com < a.txt
\\指定用户去发送邮件。要使用 -- 再加 -f $USER
 
shell中telnet
# /usr/bin/telnet 192.168.10.233 25 <<! >temp
> quit
> !
 
(sleep 5;) | telnet IP PORT 这样就可以在telnet后将PORT在5秒内输出的数据打印到屏幕上,然后自动退出
 
 
unzip file.zip -d dst_dir  将zip解压到指定目录