TranslateProject/sources/tech/20150908 List Of 10 Funny Linux Commands.md
Y.C.S.M 9495ad072c Update 20150908 List Of 10 Funny Linux Commands.md
translate as much as i can by using the working time
2015-09-10 09:26:38 +08:00

5.2 KiB
Raw Blame History

translating by tnuoccalanosrep List Of 10 Funny Linux Commands

Working from the Terminal is really fun. Today, well list really funny Linux commands which will bring smile on your face. **在终端工作是一件很有趣的事情。今天我们将会列举一些有趣得让你笑出来的Linux命令。

1. rev

创建一个文件在文件里面输入几个单词rev命令会将你写的东西反转输出到控制台。 Create a file, type some words in this file, rev command will dump all words written by you in reverse.

# rev  <file name>

Selection_002

Selection_001

2. fortune

这个命令没有被默认安装用apt-get命令安装它fortune命令会随机显示一些句子 This command is not install by default, install with apt-get and fortune will display some random sentence.

crank@crank-System:~$ sudo apt-get install fortune

Selection_003

Use -s option with fortune, it will limit the out to one sentence. 利用fortune命令的**_s** 选项,他会限制一个句子的输出长度。 # fortune -s

Selection_004

3. yes

#yes <string>

This command will keep displaying the string for infinite time until the process is killed by the user.

# yes unixmen

Selection_005

4. figlet

This command can be installed with apt-get, comes with some ascii fonts which are located in /usr/share/figlet.

cd /usr/share/figlet

#figlet -f <font>  <string>

e.g.

#figlet -f big.flf unixmen

Selection_006

#figlet -f block.flf unixmen

Selection_007

You can try another options also.

5. asciiquarium

This command will transform your terminal in to a Sea Aquarium. Download term animator

# wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz

Install and Configure above package.

# tar -zxvf Term-Animation-2.4.tar.gz
# cd Term-Animation-2.4/
# perl Makefile.PL && make && make test
# sudo make install

Install following package:

# apt-get install libcurses-perl

Download and install asciiquarium

# wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
# tar -zxvf asciiquarium.tar.gz 
# cd asciiquarium_1.0/
# cp asciiquarium /usr/local/bin/

Run,

# /usr/local/bin/asciiquarium

asciiquarium_1.1 : perl_008

6. bb

# apt-get install bb
# bb

See what comes out:

Selection_009

7. sl

Sometimes you type sl instead of ls by mistake,actually sl is a command and a locomotive engine will start moving if you type sl.

# apt-get install sl

# sl

Selection_012

8. cowsay

Very common command, is will display in ascii form whatever you wants to say.

apt-get install cowsay

# cowsay <string>

Selection_013

Or, you can use another character instead of com, such characters are stored in /usr/share/cowsay/cows

# cd /usr/share/cowsay/cows

cowsay -f ghostbusters.cow  unixmen

Selection_014

or

# cowsay -f bud-frogs.cow Rajneesh

Selection_015

9. toilet

Yes, this is a command, it dumps ascii strings in colored form to the terminal.

# apt-get install toilet

# toilet --gay unixmen

Selection_016

toilet -F border -F gay unixmen

Selection_020

toilet  -f mono12 -F metal  unixmen

Selection_018

10. aafire

Put you terminal on fire with aafire.

# apt-get install libaa-bin

# aafire

Selection_019

That it, Have fun with Linux Terminal!!


via: http://www.unixmen.com/list-10-funny-linux-commands/

作者:Rajneesh Upadhyay 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出