手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux命令及Linux终端的20个趣事

[日期:2014-04-10] 来源:Linux中国  作者:Linux [字体:大 中 小]

16. 命令: bb

首先安装“apt-get install bb”,然后敲入“bb”看看会发生什么吧。

  1. root@tecmint:~# bb

bb command

17. 命令: url

如果在你的朋友面前用命令行来改变你的 twitter status 会不会很酷呢。用你的用户名密码和你想要的状态分别替换username, password 和“your status message“就可以了。

  1. root@tecmint:~# url -u YourUsername:YourPassword-d status="Your status message" http://twitter.com/statuses/update.xml

18. ASCIIquarium

想要在终端弄一个水族馆该,怎么办?

  1. root@tecmint:~# apt-get install libcurses-perl
  2. root@tecmint:~# cd /tmp
  3. root@tecmint:~# wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz
  4. root@tecmint:~# tar -zxvf Term-Animation-2.4.tar.gz
  5. root@tecmint:~# cd Term-Animation-2.4/
  6. root@tecmint:~# perl Makefile.PL && make && make test
  7. root@tecmint:~# make install

安装 ASCIIquarium

下载并安装ASCIIquarium。

  1. root@tecmint:~# cd /tmp
  2. root@tecmint:~# wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
  3. root@tecmint:~# tar -zxvf asciiquarium.tar.gz
  4. root@tecmint:~# cd asciiquarium_1.1/
  5. root@tecmint:~# cp asciiquarium /usr/local/bin
  6. root@tecmint:~# chmod 0755/usr/local/bin/asciiquarium

最后在终端运行“asciiquarium”或者“/usr/local/bin/asciiquarium”,记得不要加引号,神奇的一幕将在你眼前展现。

  1. root@tecmint:~# asciiquarium

aquarium command

19. 命令: funny manpages

首先安装“apt-get install funny-manpages”然后运行下面命令的man手册。其中一些

  1. baby
  2. celibacy
  3. condom
  4. date
  5. echo
  6. flame
  7. flog
  8. gong
  9. grope, egrope, fgrope
  10. party
  11. rescrog
  12. rm
  13. rtfm
  14. tm
  15. uubp
  16. woman (undocumented)
  17. xkill
  18. xlart
  19. sex
  20. strfry
  21. root@tecmint:~# man baby

20. Linux Tweaks

该到了做一些优化的时候了

  1. root@tecmint:~# world
  2. bash: world:not found
  3. root@tecmint:~# touch girls\ boo**
  4. touch: cannot touch `girls boo**`:Permission denied
  5. root@tecmint:~# nice man woman
  6. No manual entry for woman
  7. root@tecmint:~#^How did the sex change operation go?^
  8. bash::s^How did the sex change operation go?^: substitution failed
  9. root@tecmint:~#%blow
  10. bash: fg:%blow:no such job
  11. root@tecmint:~# make love
  12. make:***No rule to make target `love`.Stop.
  13. $ [ whereis my brain?
  14. sh:2:[: missing ]
  15. % man: why did you get a divorce?
  16. man::Too many arguments.
  17. %!:say, what is saccharine?
  18. Bad substitute.
  19. server@localhost:/srv$ \(-
  20. bash:(-: command not found

Linux总是sexy:who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep(如果你知道我的意思,汗!)

还有一些其它的命令,只是这些命令并不能在所有的系统上运行,所以本文没有涉及到。比如说dog , filter, banner

使用愉快,你可以稍后再对我说谢谢:)您的评价是我们前进的不竭动力。告诉我们你最喜欢的命令。继续关注,不久我会有另一篇值得阅读的文��。

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款