Do you know the use of these 14 linux commands

Time:2022-4-4

1. SL command

You will see a train moving from the right side of the screen to the left

Of course, we need to install the software package first:

sudo apt-get install sl

Then run SL to see the effect:

2、fortune

Output a sentence with jokes and Famous Sayings (as well as Tang poetry and Song Ci).

Package installation:

sudo apt-get install fortune

These are all in English. If you want to see 300 Chinese Tang poems, you need to install:

sudo apt-get install fortune-zh

To execute fortune zh several times, you can see different Tang poems

3、cowsay

Print animals such as cattle and sheep with ASCII characters.

You also need to install the software package first:

sudo apt-get install cowsay

Another operation is cowsay – L to check the names of other animals, and then – F to follow the animal names

4、cmatrix

This is cool, with the matrix style animation effect of matrix matrix.

Install the package first:

sudo apt-get install cmatrix

Just run the CMatrix command

5、figlet 、toilet

WordArt generator, composed of ASCII characters, displays the text as a title bar.

Install the package first:

sudo apt-get install figlet
sudo apt-get install toilet

function:

Toilet can also add colors:

6、 oneko

A meow star appears on the desktop. Run with your mouse and it will sleep when you don’t move.

Package installation:

sudo apt-get install oneko

Run directly with oneko command

To turn off this little guy, just Ctrl + C.

7、screenfetch

This command can be used to display system and subject information.

Package installation:

sudo apt install screenfetch

Just run the screenfetch command directly

8、linux_logo

This command can be used to display the Linux version logo image and system information.

Install package:

sudo apt install linuxlogo

Run Linux directly_ The logo command:

We can view the built-in logo list:

Next, we start to use the command to cycle print the logo on the terminal

for i in {1..30};do linux_logo -f -L $i;sleep 2;done

9、boxes

This command can realize various ASCII art paintings in the box around the input text or code, which is very interesting!

Install the package first:

sudo apt-get install boxes

10、pv

Sometimes we see some subtitles displayed one by one on the movie screen at a uniform speed, just like someone tapping the keyboard and displaying them at the same time. The PV command on Linux can achieve this effect.

Install the package first:

sudo apt-get install pv

11、aview

This command can display pictures in ASCII format on the terminal, which is a little cool.

Install package:

apt-get install aview

Execute the command to send a picture of an elephant Jpg transcoding display:

asciiview elephant.jpg -driver curses

12、ASCIIquarium

This is a very interesting command. You can safely enjoy the mystery of the ocean using asciiquarium in your terminal.

Does it sound amazing? Come and try it!

First, install the Perl module of term:: Animation:

$ sudo apt-get install libcurses-perl
$ cd /tmp
$ wget http://search.cpan.org/CPAN/a…
$ tar -zxvf Term-Animation-2.4.tar.gz
$ cd Term-Animation-2.4/
$ perl Makefile.PL && make && make test
$ sudo make install

Then start installing asciiquarium:

$ cd /tmp
$ wget http://www.robobunny.com/proj…
$ tar -zxvf asciiquarium.tar.gz
$ cd asciiquarium_1.0/
$ sudo cp asciiquarium /usr/local/bin
$ sudo chmod 0755 /usr/local/bin/asciiquarium

Now you can enjoy the ASCII aquarium with the command / usr / local / bin / ASCII aquarium or Perl / usr / local / bin / ASCII aquarium

13、blessed-contrib

Want to have a tall dashboard, pretend to guide the country and maneuver? Try this one!

sudo apt-get install npm
sudo apt install nodejs-legacy
git clone https://github.com/yaronn/ble…
cd blessed-contrib
npm install

Then use the command node/ examples/dashboard. JS, you can enjoy the hacker dashboard:

14、hollywood

Tall on the dashboard, pretending to take care of everything every day. Doesn’t that sound good. Dustin Kirkland used a long flight to write this cool, interesting but useless software. In other Linux distributions, it can be installed through the following command.

sudo apt-add-repository ppa:hollywood/ppa
sudo apt-get install hollywood
sudo apt-get install byobu

Then you can enjoy a cool interface through the command of Hollywood