Interesting commands in Linux
Let's take a look at the interesting commands in linux.
Screenfetch: displays system and topic information.Installation and use:
sudoaptinstallscreenfetchscreenfetch
:
Linux_logo: linux version logo images and system informationInstallation and use:
sudoaptinstalllinuxlogolinux_logo
:
View the built-in logo list:
linux_logo -f -L list Available Built-in Logos: Num Type Ascii Name Description 1 Classic Yes aix AIX Logo 2 Classic Yes bsd FreeBSD Logo 3 Banner Yes bsd_banner FreeBSD Logo 4 Classic Yes irix Irix Logo 5 Classic Yes openbsd OpenBSD Logo 6 Banner Yes openbsd_banner OpenBSD Logo 7 Banner Yes solaris The Default Banner Logos 8 Banner Yes banner-simp Simplified Banner Logo 9 Banner Yes banner The Default Banner Logo 10 Classic Yes classic-nodots The Classic Logo, No Periods 11 Classic Yes classic-simp Classic No Dots Or Letters 12 Classic Yes classic The Default Classic Logo 13 Classic Yes core Core Linux Logo 14 Banner Yes debian_banner_2 Debian Banner 2 15 Banner Yes debian_banner Debian Banner (white) 16 Classic Yes debian_old Debian Old Penguin Logos 17 Classic Yes debian Debian Swirl Logos 18 Classic Yes gnu_linux Classic GNU/Linux 19 Banner Yes mandrake_banner Mandrake(TM) Linux Banner 20 Banner Yes mandrake Mandrakelinux(TM) Banner 21 Banner Yes mandriva Mandriva(TM) Linux Banner 22 Banner Yes pld PLD Linux banner 23 Classic Yes raspi An ASCII Raspberry Pi logo 24 Banner Yes redhat RedHat Banner (white) 25 Banner Yes slackware Slackware Logo 26 Banner Yes sme SME Server Banner Logo 27 Banner Yes sourcemage_ban Source Mage GNU/Linux banner 28 Banner Yes sourcemage Source Mage GNU/Linux large 29 Banner Yes suse SUSE Logo 30 Banner Yes ubuntu Ubuntu Logo Do "linux_logo -L num" where num is from above to get the appropriate logo. Remember to also use -a to get ascii version.
Next, we will use the command to print the logo cyclically on the terminal:
foriin{1..30};dolinux_logo-f-L$i;sleep2;done
As follows:
Sl: steam trainInstallation and use:
sudoaptinstallslsl
The ls command is used to view the contents of folders. If ls is written in reverse mode, sl will output a doodle train, as shown in:
Note: When you input LS, this command also runs
Fortune: humorousInstallation and use:
sudoaptinstallfortunefortune
:
Of course, this is all in English. If you need it to output three hundred Tang Poems in China, then:
sudoaptinstallfortune-zhfortune-zh
:
Note: press fortune and press enter again. The output content includes Chinese and English.
Cowsay: Talking calfInstallation and use:
sudoaptinstallcowsay cowsay
:
Next we will combine fortune and cowsay to let the Mavericks talk about Tang Poetry:
Note: | it is a pipeline command, and the output of a command is used as the input of the next command. It is often used in scripts and programming.
Similar to this command, there are xcowsay and cowthink, which are not described in detail here.
ToiletInstallation and use:
sudoaptinstalltoilettoilet
:
Cmatrix: hacker empireInstallation and use:
sudoaptinstallcmatrixcmatrix
:
Aafire: FlameInstallation and use:
sudoaptinstallaafireaafire
:
From: http:// OS .51cto.com/art/201612/524448.htm
Address: http://www.linuxprobe.com/linux-interesting-cmd.html