19 powerful, interesting, fun, and install the Linux command B!

Author | Sao happy years

1. sl command

You will see a train bound for the screen from right to left ......

installation

$ sudo apt-get install sl

run

$ sl

-Al F e command has several options,

-a An accident seems to happen. You'll feel pity for people who cry for help.

-l shows little one.

-F It flies.

-e Allow interrupt by Ctrl+C.

 

Others can certainly be a prank, he struck ls, I do not know of very effective

$ Alias ls = sl

2. fortune command

Output word, there is a joke, saying something (as well as poetry sudo apt-get install fortune-zh)

installation

$sudo apt-get install fortune

run

$fortune


3. cowsay command

ASCII characters are printed with cattle, sheep and other animals, there is a cowthink, think this is the cow, the cow is to say, ha ha, almost

installation

$sudo apt-get install cowsay

run

$cowsay "I am not a cow, hahaha"

 

$ Cowsay -l to see the names of other animals, then -f to keep up with animal names, such as

Tux cowsay -f $  "pit father ah"


You can also make cowsay say what fortune, like this:

$fortune | cowsay

 

4. cmatrix command

This is cool! "The Matrix" kind of matrix-style animation

installation

$ sudo apt-get install cmatrix

运行

$cmatrix

 

5. figlet 、toilet命令

艺术字生成器,由ASCII字符组成,把文本显示成标题栏。此外还有banner这个命令

安装

$sudo apt-get install figlet

$sudo apt-get install toilet

运行

$figlet fuck you !

$toilet i love you

 

toilet 还可以添加颜色,里面的选项请自己 man 一下

$ toilet -f mono12 -F gay a girl


6. oneko 命令

桌面上出现一直喵星人,跟着你的鼠标跑,你不动了它就睡觉。哈哈,这个挺不错

安装

$sudo apt-get install oneko

运行

$oneko

要关掉这家伙,按ctrl+c 结束

7. xeyes 命令

在屏幕上出现一双眼睛,盯着你的鼠标指针

安装运行同上

8. yes 命令

输出无穷无尽的字符,按ctrl+c结束,如

$yes 我很NB

9. cal 9 1752

cal是打印日历,不过这个是很奇葩的一个月,

10. shred

覆盖搞乱文件,就是文档粉碎,哈哈,要把你私藏的大片种子和电影销毁,不被恢复出来,就靠它了

11. factor

分解因数,这个……小学生可以用一下

12. 挨个敲下面这一堆,aptitude 没有的可以安装上

aptitude moo

aptitude -v moo

aptitude -vv moo

aptitude -vvv moo

aptitude -vvvv moo

aptitude -vvvvv moo

aptitude -vvvvvv moo

aptitude -vvvvvvv moo

13、高大上仪表盘blessed-contrib——假装自己指点江山,纵横捭阖  

sudo apt-get install npm
sudo apt install nodejs-legacy
git clone https://github.com/yaronn/blessed-contrib.git
cd blessed-contrib
npm install
node ./examples/dashboard.js

高大上黑客仪表盘

14、高大上仪表盘hollywood——假装自己日理万机,宵衣旰食

 Dustin Kirkland 利用一个长途飞行的时间,编写了这个炫酷、有趣但也没什么实际作用的软件。  

在其它Linux发行版中,可以通过以下命令安装并运行。  

sudo apt-add-repository ppa:hollywood/ppa
sudo apt-get install hollywood
sudo apt-get install byobu
hollywood

 

15、追逐鼠标的小猫oneko

 在桌面的命令行界面输入  

sudo apt-get install oneko
oneko

然后输入oneko,即可看到效果。  

 

16、ASCII艺术框:box命令 

 

sudo apt-get install boxes
echo "Tongji Univerisity" | boxes
echo "Tongji Univerisity" | boxes -d dog
fortune | boxes -d cat | lolcat

 

 

17、燃起字符串大火aafire在命令行界面输入 

sudo apt-get install libaa-bin
aafire

然后输入 aafire,即可看到效果 

aafire字符串大火

18、图片转字符串

这条命令在树莓派上运行会出问题,建议在云主机或虚拟机上运行。

sudo apt-get install aview imagemagick
wget http://labfile.oss.aliyuncs.com/courses/1/Linus.png
asciiview Linus.png

 

 

19, deleted from the library to the foot sudo rm -rf / * 

 

RM -rf sudo / *
sudo: get root administrator privileges
RM: the Remove, namely delete
-rf: r represents the recursive delete, delete all subdirectories that is, f represents no further confirm
/: root directory
*: All files

 

Tips: Do not try this command easily, especially in the running web server on a Linux host database.

These commands can be fun by checking the man pages, and then add their own creative thought out, it turned into something more interesting, ha ha, others trouble is really fun ......

Original Address:

www.cnblogs.com/sukai/archive/2013/06/08/3127031.html

Guess you like

Origin www.cnblogs.com/xiaobug/p/10978208.html