linux几个好玩的命令,Linux系统的几个有趣命令,你玩过吗?

1. yes命令,默认会输出很多个y,可以用来对付选择很多y/n的应用,同时也支持在yes增加一个参数,这样也可反复打印yes后面跟随的参数,直到CTRL+C杀掉yes进程。

man: yes – output a string repeatedly until killed

2. ddate命令,把日历转换成其它的什么历,谁能帮忙解释下这是什么历?

man: ddate – converts Gregorian dates to Discordian dates

[root@tektea ~]# ddate

Today is Prickle-Prickle, the 16th day of Discord in the YOLD 3180

3. cal命令,可以根据输入的月份和年份,打印出该月的日历:

[root@tektea ~]# cal 3 2014

March 2014

Su Mo Tu We Th Fr Sa

1

2 3 4 5 6 7 8

9 10 11 12 13 14 15

16 17 18 19 20 21 22

23 24 25 26 27 28 29

30 31

4. factor命令,分解因数:

[root@tektea ~]# factor 999

999: 3 3 3 37

5. shred命令,覆盖文件让它不能再读,只能被删除,这就是传说中的文件粉碎机。

man: shred – overwrite a file to hide its contents, and optionally delete it

6. 还可以试试 who is i命令,在试试 who is sb,你会得到很惊讶的回显:)

本文链接:http://www.yunweipai.com/3056.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值