一些有趣的Linux命令


一些有趣的Linux命令
 
1.cal 9 1752
[plain] 
        1752  
  
       1  2 14 15 16  
17 18 19 20 21 22 23  
24 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
[plain] 
<strong>$ aptitude -v moo  
</strong>There really are no Easter Eggs in this program.  
<strong>$ aptitude -vv moo  
</strong>Didn't I already tell you that there are no Easter Eggs in this program?  
<strong>$ aptitude -vvv moo  
</strong>Stop it!  
<strong>$ aptitude -vvvv moo  
</strong>Okay, okay, if I give you an Easter Egg, will you go away?  
<strong>$ aptitude -vvvvv moo  
</strong>All right, you win.  
  
                               /----\  
                       -------/      \  
                      /               \  
                     /                |  
   -----------------/                  --------\  
   ----------------------------------------------  
<strong>$ aptitude -vvvvvv moo  
</strong>  
What is it?  It's an elephant being eaten by a snake, of course.  
 
 
3.apt-get moo
[plain] 
         (__)  
         (oo)  
   /------\/  
  / |    ||  
 *  /\---/\  
    ~~   ~~  
...."Have you mooed today?"...  
 
4.cowsay what the
在执行这一条命令之前,首先要安装cowsay,可以执行sudo apt-get install cowsay去安装。
[plain] 
__________  
lt; what the >  
----------  
       \   ^__^  
        \  (oo)\_______  
           (__)\       )\/\  
               ||----w |  
               ||     ||  
 
5.telnet towel.blinkenlights.nl
这是什么?星球大战?没错,就是电影星球大战了,有兴趣一起看么?哈哈。
如果没有装telnet的话,你可以先用apt-get instal telnet安装一下,然后输入上面的命令,就可以好好欣赏这么一部好电影啦。
 
6.fortune
如果没有这命令,可以先用apt-get install fortune安装一个。
缺乏动力了?每天一句名言来警示一下自己吧。哈哈。
[plain] 
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 forever  
skipping along smooth water, rippling reality sporadically but oblivious  
to it consistently, until she finally lost momentum, sank, and due to an  
overdose of flouride as a child which caused her to suffer from chronic  
apathy, doomed herself to lie forever on the floor of her life as useless  
as an appendix and as lonely as a five-hundred pound barbell in a  
steroid-free fitness center.  
                -- Winning sentence, 1990 Bulwer-Lytton bad fiction contest.  
  
example 3:The ripest fruit falls first.  
                -- William Shakespeare, "Richard II"  
 

相关内容

    暂无相关文章