Author: Happy SAO Nian www.cnblogs.com/sukai/

1. The sl command

You’ll see a train going from the right side of the screen to the left…

The installation

$ sudo apt-get install sl
Copy the code

run

$ sl
Copy the code

The command has several options: -A, L, F, e

-a An accident seems to happen. You'll feel pity for people who cry for help. -l shows little one. -F It flies. -e Allow  interrupt by Ctrl+C.Copy the code

Can play a prank on others, he hit LS, do not know the affirmation is very effective

$alias ls=sl
Copy the code

2. Fortune command

Sudo apt-get install fortune-zh sudo apt-get install fortune-zh

The installation

$sudo apt-get install fortune
Copy the code

run

$fortune
Copy the code

3. Cowsay command

Use ASCII characters to print cows, sheep, and other animals, and cowthink, this is the cowthink, that is the cow say, ha ha, almost

The installation

$sudo apt-get install cowsay
Copy the code

run

$cowsay "I am not a cow, hahaha"
Copy the code

$cowsay -l to view the names of other animals, then -f to follow the name of the animal, as in

$cowsay -f tuxCopy the code

You can also have Cowsay say fortune’s content, like this:

$fortune | cowsay
Copy the code

4. Cmatrix command

This is cool! Matrix style animation

The installation

$ sudo apt-get install cmatrix
Copy the code

run

$cmatrix
Copy the code

5. Run the figlet and toilet commands

Artesian generator, consisting of ASCII characters, displays text as a title bar. There is also the banner command

The installation

$sudo apt-get install figlet

$sudo apt-get install toilet
Copy the code

run

$figlet fuck you !

$toilet i love you
Copy the code

Toilet can also add color, inside the options please man yourself

$ toilet -f mono12 -F gay a girl
Copy the code

6. Oneko command

A cat appears on the desktop, running with your mouse, you do not move it to sleep. Haha, that’s a good one

The installation

$sudo apt-get install oneko
Copy the code

run

$oneko
Copy the code

To turn this guy off, press CTRL + C to end

7. Xeyes command

A pair of eyes appear on the screen, staring at your mouse pointer

Installation and operation same as above

8. Yes command

Output endless characters, press CTRL + C to end, as in

$yes I am very NBCopy the code

9. cal 9 1752

CAL is a printed calendar, but this is a weird month,

10. shred

Overwrite muddle files, that is, document shredding, ha ha, to destroy your stash of large files and movies, not to be restored, it depends on it

11. factor

Factorization, this… Elementary school students can use it

12. Knock on the bottom pile one by one, if you don’t have aptitude you can install them

aptitude moo

aptitude -v moo

aptitude -vv moo

aptitude -vvv moo

aptitude -vvvv moo

aptitude -vvvvv moo

aptitude -vvvvvv moo

aptitude -vvvvvvv moo
Copy the code

13. Be blessed-contrib — pretend to be all over the place

sudo apt-get install npm
sudo apt install nodejs-legacy
git clone https://github.com/yaronn/blessed-contrib.git
cd blessed-contrib
npm install
node ./examples/dashboard.js
Copy the code

Tall on the hacker dashboard

14. Leap on the dashboard Hollywood — pretend to be busy, night clothes and food

Dustin Kirkland took a long flight to write this cool, fun, but not really useful software.

On other Linux distributions, you can install it and run it with the following command.

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

15. Oneko, the cat chasing the mouse

Enter a value on the command-line interface (CLI) of the desktop

sudo apt-get install oneko
oneko
Copy the code

Then type oneko to see the effect.

ASCII art box: box command

sudo apt-get install boxes echo "Tongji Univerisity" | boxes echo "Tongji Univerisity" | boxes -d dog fortune | boxes -d  cat | lolcatCopy the code

17, lit string fire aafire in command line interface input

sudo apt-get install libaa-bin
aafire
Copy the code

Then type aafire to see the effect

Aafire string fire

18. Picture to string

Running this command on raspberry PI will cause problems. You are advised to run this command on a cloud host or virtual machine.

sudo apt-get install aview imagemagick
wget http://labfile.oss.aliyuncs.com/courses/1/Linus.png
asciiview Linus.png
Copy the code

Sudo rm -rf /*

-rf: r indicates recursive deletion, that is, all subdirectories will be deleted. F indicates no further confirmation. / : root directory * : all filesCopy the code

Note: do not try this command lightly, especially on a Linux host running a web server or database.

These funny commands can be adapted into more interesting things by checking the man manual and adding my own ideas. Haha, it is also fun to make trouble for others…

Recent hot articles recommended:

1.1,000+ Java Interview Questions and Answers (2021)

2. Don’t use if/ else on full screen again, try strategy mode, it smells good!!

3. Oh, my gosh! What new syntax is xx ≠ null in Java?

4.Spring Boot 2.5 is a blockbuster release, and dark mode is exploding!

5. “Java Development Manual (Songshan version)” the latest release, quick download!

Feel good, don’t forget to click on + forward oh!