1. yes命令,默认会输出很多个y,可以用来对付选择很多y/n的应用,同时也支持在yes增加一个参数,这样也可反复打印yes后面跟随的参数,直到CTRL+C杀掉yes进程。
man: yes – output a string repeatedly until killed
2. ddate命令,把日历转换成其它的什么历,谁能帮忙解释下这是什么历?
man: ddate – converts Gregorian dates to Discordian dates
[root@tektea ~]# ddate
Today is Prickle-Prickle, the 16th day of Discord in the YOLD 3180
3. cal命令,可以根据输入的月份和年份,打印出该月的日历:
[root@tektea ~]# cal 3 2014
March 2014
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
4. factor命令,分解因数:
[root@tektea ~]# factor 999
999: 3 3 3 37
5. shred命令,覆盖文件让它不能再读,只能被删除,这就是传说中的文件粉碎机。
man: shred – overwrite a file to hide its contents, and optionally delete it
6. 还可以试试 who is i命令,在试试 who is sb,你会得到很惊讶的回显:)
本文链接:http://www.yunweipai.com/3056.html