Working at the terminal is a very interesting thing. Today, we'll list some interesting Linux commands that will bring you laughter.
1. Rev
Create a file, enter a few words into the file, and Rev command will reverse the output of what you wrote to the console.
# rev <file name>
selection_002
selection_001
2. Fortune
This command is not installed by default, it is installed with the Apt-get command, and the Fortune command randomly displays some sentences
[email protected]-System:~$ sudoapt-get install fortune
selection_003
Using the _s option of the Fortune command, he will limit the output length of a sentence.
# fortune -s
selection_004
3. Yes
#yes<string>
This command will print out the string until the user finishes 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 using other options.
5. Asciiquarium
This command will turn your terminal into a marine pavilion.
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
Then 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/
Execute the following command:
# /usr/local/bin/asciiquarium
asciiquarium_1.1:perl_008
6. bb
#apt-get install bb
# bb
See what it will output?
selection_009
7. SL
Sometimes you may mistakenly hit the sl, in fact, SL is also a command, if you play SL, you will see a mobile locomotive
#apt-get install sl
# sl
selection_012
8. Cowsay
A very common command that will show you what you want to say in ASCII.
apt-get install cowsay
# cowsay <string>
selection_013
Alternatively, you can replace the default role with other roles, which 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're right, this is a command, he will output the string as 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
Ten. Aafire
Aafire can make your terminal burn up.
#apt-get install libaa-bin
# aafire
selection_019
So much, I wish you have fun at Linux terminal!!!
Original link: http://www.linuxidc.com/Linux/2015-09/123411.htm
10 Interesting Linux commands