10 really interesting Linux commands
Working on a terminal is a very interesting thing. Today, we will list some interesting Linux commands that make you laugh.
1. rev
Create a file and enter a few words in the file. The rev command will output your writing to the console.
# rev <file name>
Selection_002
Selection_001
2. fortune
This command is not installed by default. Use the apt-get command to install it. The fortune command will randomly display some sentences.
crank@crank-System:~$ sudoapt-get install fortune
Selection_003
The fortune Command's _ s option limits the output length of a sentence.
# fortune -s
Selection_004
3. yes
#yes<string>
This command will print the string continuously until the user stops the process.
#yes unixmen
Selection_005
4. figlet
This command can be installed with apt-get. After installation, you can see some ascii font files in/usr/share/figlet.
cd/usr/share/figlet
#figlet -f <font><string>
#figlet -f big.flf unixmen
Selection_006
#figlet -f block.flf unixmen
Selection_007
Of course, you can also try other options.
5. asciiquarium
This command turns your terminal into an aquarium.
Download term animator:
#wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz
Install and configure this package:
#tar-zxvf Term-Animation-2.4.tar.gz
#cdTerm-Animation-2.4/
# perl Makefile.PL &&make&&maketest
#sudomake install
Install the 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 the following command:
# /usr/local/bin/asciiquarium
Asciiquarium_1.1: perl_008
6. bb
#apt-get install bb
# bb
What will be output?
Selection_009
7. sl
Sometimes you may mistakenly compress ls into sl. In fact, sl is also a command. If you press sl, you will see a mobile locomotive.
#apt-get install sl
# sl
Selection_012
8. cowsay
A common command that uses ascii to display what you want to say.
apt-get install cowsay
# cowsay <string>
Selection_013
Alternatively, you can use other roles to replace the default roles. These roles are stored in the/usr/share/cowsay/cows directory.
#cd/usr/share/cowsay/cows
cowsay -f ghostbusters.cow unixmen
Selection_014
Or
# cowsay -f bud-frogs.cow Rajneesh
Selection_015
9. toilet
You are not mistaken. This is a command. It will output the string in the form of a color ascii string 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
Aafire can fuel your terminal.
#apt-get install libaa-bin
# aafire
Selection_019
That's all. Have a good time on Linux !!!
Via: http://www.unixmen.com/list-10-funny-linux-commands/
Author: Rajneesh Upadhyay Translator: tnuoccalanosrep Proofreader: wxy
This article was originally compiled by LCTT and launched with the honor of Linux in China
This article permanently updates the link address: