10 Interesting Linux commands

Source: Internet
Author: User

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.

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

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

    1. # fortune -s

selection_004

3. Yes
    1. #yes<string>

This command will print out the string until the user finishes 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 using other options.

5. Asciiquarium

This command will turn your terminal into a marine pavilion.

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

Then 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/

Execute the following command:

    1. # /usr/local/bin/asciiquarium

asciiquarium_1.1:perl_008

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

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

selection_012

8. Cowsay

A very common command that will show you what you want to say in ASCII.

    1. apt-get install cowsay
    1. # cowsay <string>

selection_013

Alternatively, you can replace the default role with other roles, which 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're right, this is a command, he will output the string as 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

Ten. Aafire

Aafire can make your terminal burn up.

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

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.