10 really interesting Linux commands

Source: Internet
Author: User

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.

  1. # 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.

  1. crank@crank-System:~$ sudoapt-get install fortune

Selection_003

The fortune Command's _ s option limits the output length of a sentence.

  1. # fortune -s

Selection_004

 

3. yes
  1. #yes<string>

This command will print the string continuously until the user stops the process.

  1. #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.

  1. cd/usr/share/figlet
  1. #figlet -f <font><string>
  2. #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:

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

Install and configure this package:

  1. #tar-zxvf Term-Animation-2.4.tar.gz
  2. #cdTerm-Animation-2.4/
  3. # perl Makefile.PL &&make&&maketest
  4. #sudomake install

Install the following package:

  1. #apt-get install libcurses-perl

Download and install asciiquarium:

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

Run the following command:

  1. # /usr/local/bin/asciiquarium

Asciiquarium_1.1: perl_008

 

6. bb
  1. #apt-get install bb
  2. # 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.

  1. #apt-get install sl
  1. # sl

Selection_012

 

8. cowsay

A common command that uses ascii to display what you want to say.

  1. apt-get install cowsay
  1. # 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.

  1. #cd/usr/share/cowsay/cows
  1. cowsay -f ghostbusters.cow unixmen

Selection_014

Or

  1. # 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.

  1. #apt-get install toilet
  1. # toilet --gay unixmen

Selection_016

  1. toilet -F border -F gay unixmen

Selection_020

  1. toilet -f mono12 -F metal unixmen

Selection_018

 

10. aafire

Aafire can fuel your terminal.

  1. #apt-get install libaa-bin
  1. # 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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.