您的位置:首页 > 运维架构 > Linux

有趣的Linux命令

2013-05-23 16:25 405 查看
以下是从网上收集的一些有趣的Linxu命令

1.cal 9 1752

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

$ aptitude -v moo
There really are no Easter Eggs in this program.
$ aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
$ aptitude -vvv moo
Stop it!
$ aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
$ aptitude -vvvvv moo
All right, you win.

/----\
-------/      \
/               \
/                |
-----------------/                  --------\
----------------------------------------------
$ aptitude -vvvvvv moo

What 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 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"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: