[笑话]linux下有趣的命令
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
[笑话]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:输出一句话,内容有很多种,据说有唐诗宋词(有唐诗宋词的是fortune-zh)
cal 9 1752:打印日历,不过那一个月的有问题,哈,还有个ccal有农历的不知道怎么样了
tac:concatenate and print files in reverse,把文件的行反过来打印(cat 反过来写的。。试试就知道)
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乒乓游戏,没玩过。
------------------------
来自水木讨论,总结一下。有些是搞笑的,有些也还是很有用的:
yes:输出一串y,有时可以用来对付很多y/n选择的应用
banner:打印字符标题,就是用字符拼出大字来
ddate:把日历转成什么其他历,Today is Sweetmorn, the 63rd day of Discord in the YOLD 3173
fortune:输出一句话,内容有很多种,据说有唐诗宋词(有唐诗宋词的是fortune-zh)
cal 9 1752:打印日历,不过那一个月的有问题,哈,还有个ccal有农历的不知道怎么样了
tac:concatenate and print files in reverse,把文件的行反过来打印(cat 反过来写的。。试试就知道)
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乒乓游戏,没玩过。
上次由 yaoms 在 2008-04-02 16:24,总共编辑 2 次。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
- qiang_liu8183
- 论坛版主
- 帖子: 10699
- 注册时间: 2006-09-10 22:36
- 系统: Arch Debian
- 来自: 北京
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- xiooli
- 帖子: 6956
- 注册时间: 2007-11-19 21:51
- 来自: 成都
- 联系:
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- HuaChong
- 帖子: 493
- 注册时间: 2006-09-12 17:10
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
应该是aptitude moo/apt-get moo -vvvvv:debian搞笑的
代码: 全选
david@austria:~$ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
david@austria:~$ apt-build moo
(__) ~
(oo) /
_____\/___/
/ /\ / /
~ / * /
/ ___/
*----/\
/ \
/ /
~ ~
..."Have you danced today? Discow!"...
david@austria:~$ aptitude moo
There are no Easter Eggs in this program.
david@austria:~$ aptitude -v moo
There really are no Easter Eggs in this program.
david@austria:~$ aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
david@austria:~$ aptitude -vvv moo
Stop it!
david@austria:~$ aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
david@austria:~$ aptitude -vvvvv moo
All right, you win.
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------
david@austria:~$ aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
david@austria:~$ aptitude -vvvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
david@austria:~$ aptitude -vvvvvvvvvvvvvvvvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
david@austria:~$
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
没错的HuaChong 写了:九月 1752
日 一 二 三 四 五 六
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
cal 9 1752还真是错误的!!怎么搞的
http://en.wikipedia.org/wiki/1752
估计Win下绝大多数万年历在这年都是错的..
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
http://en.wikipedia.org/wiki/Gregorian_calendarBritain and the British Empire (including the eastern part of what is now the United States) adopted the Gregorian calendar in 1752 (see the Calendar (New Style) Act 1750) by which time it was necessary to correct by 11 days. Wednesday, 2 September 1752 was followed by Thursday, 14 September 1752 to account for 29 February 1700 (Julian). After 1753, the British tax year in Britain continued to operate on the Julian calendar and began on 5 April, which was the "Old Style" new tax year of 25 March. A 12th skipped Julian leap day in 1800 changed its start to 6 April. It was not changed when a 13th Julian leap day was skipped in 1900, so the tax year in the United Kingdom still begins on 6 April.
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
- ubuntuing
- 帖子: 192
- 注册时间: 2008-03-22 9:02