« 一切安定,重头开始 | Main | 奶奶 »

Linux下的有趣命令

本文转载自:http://blog.cathayan.org/item/1594
来自水木讨论,总结一下。有些是搞笑的,有些也还是很有用的:

yes:输出一串y,有时可以用来对付很多y/n选择的应用

banner:打印字符标题,就是用字符拼出大字来

ddate:把日历转成什么其他历,Today is Sweetmorn, the 63rd day of Discord in the YOLD 3173

fortune:输出一句话,内容有很多种,据说有唐诗宋词

cal 9 1752:打印日历,不过那一个月的有问题,哈,还有个ccal有农历的不知道怎么样了

tac:concatenate and print files in reverse,把文件的行反过来打印

ptx - produce a permuted index of file contents,生成索引?不知道

xev:打印即时的X事件

xeyes:出眼睛那个,进X第一都要玩玩吧

cowsay/cowthink:打印一个小牛(或其他动物)说话或想像,内容可自定

factor:分解因数

shred:覆盖文件让它不能再读

aptitude moo/apt-get moo -vvvvv:debian搞笑的

还有make love,翻成中文倒不好玩了

还有人说who am i,不够有意思

有人说 rm -fr /,还有dd if=/dev/zero of=/dev/mem,这就太坏了,没事别试,尤其是root敢死队不要试

csmash:一个3d乒乓游戏,没玩过。

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 22, 2007 11:09 PM.

The previous post in this blog was 一切安定,重头开始.

The next post in this blog is 奶奶.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.