Daily Archives: 十一月 1st, 2007

linux中用mail命令查看邮件头用h指令

#mail
Mail version 8.1 6/6/93. Type ? for help.
“/var/spool/mail/zzz”: 27 messages 2 new
1 xxx@jjj.com Mon Jun 4 11:00 48/1925 “=?gb2312?B?zqrKssO0?=”
2 xxx@jjj.com Mon Jun 4 11:58 21/725 “003″
3 xxx@jjj.com Mon Jun 4 14:17 25/917 “wewe”
>4 xxx@jjj.com Mon Jun 4 14:17 48/1877 “=?gb2312?B?zqrKssO0?=”
& ?
Mail   Commands
t <message list=””>                type messages
n                               goto and type next message
e <message list=””>                edit messages
f [...]

ls列出所有非目录文件或列出所有普通文件简单方法

列出所有非目录文件:
ls -l | grep ‘^[^d]‘
列出所有普通文件:
ls -l | grep ‘^-’

欲练神功,挥刀自宫

不过你不会真的以为刚自宫完神功就练成了吧http://bbs3.news.163.com/bbs/photo/32095714.html