Welcome 微信登录

首页 / 操作系统 / Linux / Linux命令及Linux终端的20个趣事

Linux其乐无穷!哈哈。不相信。记住我的话,在文章结尾时你就会相信Linux确实好玩了。

1. 命令:sl (蒸汽机车)

你可能了解 ‘ls’ 命令,并经常使用它来查看文件夹的内容。但是,有些时候你可能会拼写成 ‘sl’ ,这时我们应该如何获得一些乐趣而不是看见“command not found”呢?

安装 sl

  1. root@tecmint:~# apt-get install sl (InDebian like OS)
  2. root@tecmint:~# yum -y install sl (InRedHat like OS)

输出

  1. root@tecmint:~# sl
当你敲入的是‘LS‘而不是’ls‘时,这个命令也会运行。

2. 命令:telnet

非也!非也!!这可不像它平常那样复杂。你可能很熟悉telnet。Telnet 是一个文本化的双向网络协议。这里不需要安装什么东西。你需要的就是一个Linux系统和一个连通的网络。
  1. root@tecmint:~# telnet towel.blinkenlights.nl

3. 命令:fortune

试试你未知的运气,终端里有时也有好玩的。

安装 fortune

  1. root@tecmint:~# apt-get install fortune (for aptitude based system)
  2. root@tecmint:~# yum install fortune (for yum based system)
  3. root@tecmint:~# fortune
  4. You"re not my type. For that matter, you"re not even my species!!!
  5. Future looks spotty.You will spill soup in late evening.
  6. You worry too much about your job.Stop it.You are not paid enough to worry.
  7. Your love life will be... interesting.

4. 命令:rev(翻转)

它会把传递给它的的每个字符串都反过来,是不是很好玩。
  1. root@tecmint:~# rev
  2. 123abc
  3. cba321
  4. xuniL eb ot nrob
  5. born to be Linux

5. 命令:factor

该谈点儿关于Mathematics的了,这个命令输出给定数字的所有因子。
  1. root@tecmint:~# factor
  2. 5
  3. 5:5
  4. 12
  5. 12:223
  6. 1001
  7. 1001:71113
  8. 5442134
  9. 5442134:22721067
  • 1
  • 2
  • 3
  • 4
  • 下一页
Ubuntu 及衍生版用户安装跨平台游戏 MinecraftUbuntu 14.04 用户怎样安装 Kernel 3.14 内核相关资讯      Linux命令  Linux终端 
  • 48 字节命令可令 Linux 系统当机!  (今 07:55)
  • 使用Linux终端快捷操作提升工作效  (04月05日)
  • 在Linux笔记本上执行这句命令能致  (02月02日)
  • 10款优秀的Linux终端记录工具  (07月06日)
  • 运维工程师必会的109个Linux命令  (03月09日)
  • 有趣的Linux命令行:随机输出唐诗  (12/28/2015 20:14:23)
本文评论 查看全部评论 (0)
表情: 姓名: 字数