有趣的Linux命令

来源:互联网 发布:ise 14.7软件下载 编辑:程序博客网 时间:2024/04/30 05:15

以下是从网上收集的一些有趣的Linxu命令

1.cal 9 1752

        1752       1  2 14 15 1617 18 19 20 21 22 2324 25 26 27 28 29 30

1582年2月,罗马教廷需要从1582 年10月中减去10天,因此1852年10月4日后面紧跟着就是15日。在意大利、西班牙等国家都这样处理了。其他天主教国家也很快跟着这么做了,但是新教国家不愿意修改,而且希腊等东正教国家直到20世纪初才修改,所以这个改革在英国及其殖民地(包括美国)在1752年9月才被执行。这样1752 年9月2日后面跟着的就是1752年9月14日。这就是为什么cal会生成上面输出的原因了。


2.aptitude -v moo

$ aptitude -v mooThere really are no Easter Eggs in this program.$ aptitude -vv mooDidn't I already tell you that there are no Easter Eggs in this program?$ aptitude -vvv mooStop it!$ aptitude -vvvv mooOkay, okay, if I give you an Easter Egg, will you go away?$ aptitude -vvvvv mooAll right, you win.                               /----\                       -------/      \                      /               \                     /                |   -----------------/                  --------\   ----------------------------------------------$ aptitude -vvvvvv mooWhat is it?  It's an elephant being eaten by a snake, of course.


3.apt-get moo

         (__)         (oo)   /------\/  / |    || *  /\---/\    ~~   ~~...."Have you mooed today?"...

4.cowsay what the

在执行这一条命令之前,首先要安装cowsay,可以执行sudo apt-get install cowsay去安装。

 __________< what the > ----------        \   ^__^         \  (oo)\_______            (__)\       )\/\                ||----w |                ||     ||

5.telnet towel.blinkenlights.nl

这是什么?星球大战?没错,就是电影星球大战了,有兴趣一起看么?哈哈。

如果没有装telnet的话,你可以先用apt-get instal telnet安装一下,然后输入上面的命令,就可以好好欣赏这么一部好电影啦。


6.fortune

如果没有这命令,可以先用apt-get install fortune安装一个。

缺乏动力了?每天一句名言来警示一下自己吧。哈哈。

example 1: Don't you wish you had more energy... or less ambition?example 2: Delores breezed along the surface of her life like a flat stone foreverskipping along smooth water, rippling reality sporadically but obliviousto it consistently, until she finally lost momentum, sank, and due to anoverdose of flouride as a child which caused her to suffer from chronicapathy, doomed herself to lie forever on the floor of her life as uselessas an appendix and as lonely as a five-hundred pound barbell in asteroid-free fitness center.                -- Winning sentence, 1990 Bulwer-Lytton bad fiction contest.example 3:The ripest fruit falls first.                -- William Shakespeare, "Richard II"



原创粉丝点击