linux终端怎么旋转,Linux命令及Linux终端的20个趣事

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

78097847_1.png

20 Linux Funny Commands

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

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

安装 sl

root@tecmint:~# apt-get install sl (In Debian like OS)

root@tecmint:~# yum -y install sl (In Red Hat like OS)

输出

root@tecmint:~# sl

78097847_2.png

sl command

当你敲入的是‘LS‘而不是’ls‘时,这个命令也会运行。

2. 命令:telnet

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

root@tecmint:~# telnet towel.blinkenlights.nl

78097847_3.png

telnet command

3. 命令:fortune

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

安装 fortune

root@tecmint:~# apt-get install fortune (for aptitude based system)

root@tecmint:~# yum install fortune (for yum based system)

root@tecmint:~# fortune

You're not my type. For that matter, you're not even my species!!!

Future looks spotty. You will spill soup in late evening.

You worry too much about your job. Stop it. You are not paid enough to worry.

Your love life will be... interesting.

4. 命令:rev(翻转)

它会把传递给它的的每个字符串都反过来,是不是很好玩。

root@tecmint:~# rev

123abc

cba321

xuniL eb ot nrob

born to be Linux

5. 命令:factor

该谈点儿关于Mathematics的了,这个命令输出给定数字的所有因子。

root@tecmint:~# factor

5

5: 5

12

12: 2 2 3

1001

1001: 7 11 13

5442134

5442134: 2 2721067

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值