Programmer’s fun, those cute Linux commands

1.sl command

You will see a train going from the right to the left of the screen...

installation

$sudo apt - get install sl

run

$sl

The command has several options -alFe,

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

 

You can play a prank on others, if he knocks on ls, it will be effective if he doesn’t know

$alias ls=sl

2. fortune instruction

Output a sentence, there are jokes, famous sayings and so on (and Tang poetry and Song lyrics sudoapt-getinstallfortune-zh)

installation

$sudo apt - get install fortune

run

$fortune

 

3.cowsay command

Use ASCII characters to print cows, sheep and other animals. There is also a cowthink. This is a cow think, and the other is a cow think, haha, almost

installation

$sudo apt -get install cowsay

run

$cowsay "I am not acow , hahaha"

 

$cowsay-l View the names of other animals, and then -f to keep up with the names of animals, such as

$cowsay-f tux "Cheating"

 

You can also make cowsay say the content of fortune, like this:

$fortune | cowsay

 

4.cmatrix command

This is cool! The matrix-style animation effect of "The Matrix"

installation

$sudo apt - get install cmatrix

run

$cmatrix

 

5.figlet, toilet commands

Artistic word generator, composed of ASCII characters, displays the text as a title bar. In addition, there is the banner command

installation

$sudo apt - get install figlet

$sudo apt - get install toilet

run

$figlet fuck you !

$toilet i love you

 

You can also add colors to the toilet. Please man it yourself for the options inside.

$toilet - fmono12-F gay a girl

 

6. oneko instruction

A cat appears on the desktop all the time, follow your mouse to run, and it sleeps without moving it. Haha, this one is pretty good

installation

$sudo apt-get install oneko

run

$ oneko

To turn off this guy, press ctrl+c to end

 

7.xeyes command

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

Same as above for installation and operation

 

8.yes command

Output endless characters, press ctrl+c to end, such as

$yes I am NB

9.cal 9 1752

cal is a printed calendar, but this is a very weird month,

 

10.shred

Overwriting and messing up the file means smashing the file. Haha, if you want to destroy the blockbuster seeds and movies you have privately hidden, it will depend on it if they are not recovered.

11.factor

Decomposition factor, this... elementary school students can use it

 

12. Knock on the following piles one by one, you can install the ones that aptitude does not have

aptitude moo

aptitude - v moo

aptitude - vv moo

aptitude - vvv moo

aptitude - vvvv moo

aptitude - vvvvv moo

aptitude - vvvvvv moo

aptitude - vvvvvvv moo

These fun commands can be adapted into more interesting things by checking the man manual, and then adding the ideas that you have come up with, haha, it is fun to mess with others...


Those who are interested in software testing can also follow my official account: Programmer Erhei, focusing on software testing sharing, mainly sharing testing foundation, interface testing, performance testing, automated testing, TestOps architecture JmeterLoad, Runner, Fiddler, MySql, Linux , Resume optimization, interview skills, and actual video materials for large-scale test projects. If you are interested, please pay attention

Share the wonderful content with your friends

Guess you like

Origin blog.csdn.net/m0_53918927/article/details/113406456