12 interesting Linux Commands that can make you laugh

Linux-Funny-Commands

Do you ever know that Linux is not just for serious work for admins and professionals, but you can play word games, speak to your Linux terminal or create beautiful ASCII pictures etc.? Yes, Linux is really fun, if you know the correct commands. Let’s look at some of these commands that can bring a smile to your face instantly or which can be used at the end of a day-long hectic work to ease the pressure and bring some relief on to you, so that you can leave home in a good mood.

1) Get a Random Quote with fortune command

One can get random quotes and funny predictions with the help of the fortune command. But you need to have fortune package  installed in your system.

To install Fortune for system based on apt or aptitude:

[email protected]:~$ sudo apt-get install fortune

To install Fortune for yum based systems like CentOS / RHEL / Fedora, run the beneath command

[[email protected] ~]# yum install fortune*

Once the installation is completed run fortune command. Example is shown below

linux-fortune-command-output

2) Rev Command

The “rev” command reverses any string provided to it.whenever Linux is installed is installed automatically.

[[email protected] ~]# rev
LinuxTechi
ihceTxuniL
Linux Rocks
skcoR xuniL
Opensource World
dlroW ecruosnepO
LinuxMint Ultimate Desktop
potkseD etamitlU tniMxuniL

One can even create a file with a list of names and just provide the file name next to the rev command and all the names in the file will be reversed.

[[email protected] ~]# rev rev.txt
ihceTxuniL
skcoR syawla xuniL
dlrow ecruosnepO fo enobkcab eht si xuniL
ihceTxuniL moob moob
[[email protected] ~]#

3) Yes Command

The Yes Command will keep on displaying yourtext for n number of times, until you intervene to stop it (CTRL + C)

synatx :

 # yes <yourtext>

Example

[[email protected] ~]# yes LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com
LinuxTechi.com^C
[[email protected] ~]#

4) Turn Your Terminal into an Aquarium

Do you know that you can transform your linux system terminal into a beautiful sea aquarium with fishes and sea weeds? For that you need to install the term animator package, libcurses and  asciiaquarium package into your system.

To run the below steps successfully just make sure on your system ‘perl‘, ‘perl-Curses‘ and  ‘perl-devel‘ packages are installed

For yum based systems :

[[email protected] ~]# yum install perl perl-devel perl-Curses

For Debian based systems

[email protected]:~$ sudo apt-get install perl libcurses-perl

Follow the below steps to install and run this amazing Linux command:

First, make sure you’ve downloaded the term animator package

[[email protected] ~]# wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.6.tar.gz

Install the package using below steps

[[email protected] ~]# tar zxpvf Term-Animation-2.6.tar.gz
[[email protected] ~]# cd Term-Animation-2.6
[[email protected] Term-Animation-2.6]# perl Makefile.PL && make && make test
[[email protected] Term-Animation-2.6]# make install

Note: In Case you are facing any issues while executing above steps then  we can  use cpan console to install “Term Animation” Package as shown below

cpan[1]> install Term::Animation

Finally download and install the asciiaquarium package using below steps:

[[email protected] ~]# wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
[[email protected] ~]# tar zxpvf asciiquarium.tar.gz
[[email protected] ~]# cd asciiquarium_1.1/
[[email protected] asciiquarium_1.1]# cp asciiquarium /usr/local/bin/
[[email protected] asciiquarium_1.1]# chmod 755 /usr/local/bin/asciiquarium

Now run the command

[[email protected] ~]# /usr/local/bin/asciiquarium

or

[[email protected] ~]# asciiquarium

Linnux-Terminal-Asciiquarium

5) Toilet Command

As the name suggests, the functionality of this command is entirely different and don’t know why they named as toilet for this command. This command outputs large sized beautiful banners entirely built using small characters.

For Debian Based systems use below command to install toilet package

[email protected]:~$ sudo apt-get install toilet

For stems like CentOS and RHEL use below commands to install toilet

[[email protected] ~]# wget http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-0.3.tar.gz
[[email protected] ~]# tar zxpvf toilet-0.3.tar.gz
[[email protected] ~]# cd toilet-0.3
[[email protected] toilet-0.3]# ./configure && make && make install

Example:

[email protected]:~$ toilet LinuxTechi Rocks

Toilet-Linux-Command-Output

Toilet command offers wide range of options like fonts, colorful characters and filters. Use the man page of toilet command to explore all these options.

Linux-toilet-command-output2

6) Set Your Terminal on Fire

Want to set your terminal on fire, don’t panic, it’s just some funny command that outputs fire like output using characters.

Install the package which provides aafire command on Debian like systems.

[email protected]:~$ sudo apt-get install libaa-bin
[email protected]:~$ aafire

Fire-on-linux-terminal

7) Ask a Cow to Repeat What You Say

cowsay” is another funny Linux command that displays your text input by a cow or any other animal of your choice

[email protected]:~$ sudo apt-get install cowsay
[email protected]:~$ cowsay Linux world Rocks

Linux-command-cowsay-output

cowsay command can also be used with fortune command, example is shown below :

[email protected]:~$ fortune | cowsay

cowsay-with-fortune-command-output

8) Enter the World of Matrix

Relive the matrix experience with the help of cmatrix command.

cmatrix command is not available in the default OS installation, use the below command to install cmatrix package for Debian Based systems

[email protected]:~$ sudo apt-get install cmatrix

Run the beneath command to start the matrix

[email protected]:~$ cmatrix

cmatrix-linux-command-output

9) Do You Love that Jerry Mouse

Are you getting bored with the same old black mouse pointer and want to have some fun with that. “Oneko” package comes to the rescue, which attaches “Jerry” the famed mouse to your mouse pointer and you can see that little cute mouse run along with your pointer. Pretty much Fun isn’t it ?

Install oneko package using below command on debian like systems

[email protected]:~$ sudo apt-get install oneko

Once the installation is finished type the command “oneko”

linux-oneko-command-output

10) Turn Your Terminal to Speak To You

Turn your speakers on as you can make your Linux terminal speak to you with the espeak command. Let’s first install epseak package

For Debian based systems

[email protected]:~$ sudo apt-get install espeak

For yum based systems

[[email protected] ~]# yum install espeak

Execute the espeak command followed by the text

[email protected]:~$ espeak "LinuxTechi is the best Website for Linux guide and tutorials"

11)  Steam Locomotive in your Linux Terminal

You all know about the “ls” command used for displaying all the files in a folder, but do you know about “sl” ? It is a funny linux command that draws an ASCII steam locomotive in your Linux terminal screen.

‘sl’ command is not available by default, so let’s  first install it.

For Debian based systems

[email protected]:~$ sudo apt-get install sl

for Yum based systems

[[email protected] ~]# yum install sl

Run the ‘sl’ command and view the output

[[email protected] ~]# sl

linux-sl-command-Steam-Locomotive

12) Watch Star Wars

Want to go back to your school days where you are dumbstruck with the characters of star wars, but you can’t see the movie here, but just see how Star wars text printed in ASCII characters.

[[email protected] ~]# telnet towel.blinkenlights.nl

Wait for Couple of seconds , it will print Star wars text in ASCII format.

startwars-20th-century-output

After couple of seconds , it will show below

starwars-longway-message-linux-terminal

starwars-Ascii-characters-linux-terminal

starwards-episode-linux-terminal

starwars-message-linux-terminal

To Stop or terminate starwars , simply press ctrl+] and after that telnet terminal will come and type quit there

That’s all from this article, I hope you guys have enjoyed these funny commands and if you feel any other command that should be included in this list, Please do let us know us.

4 Responses

  1. Eric says:

    Fantastic article indeed! Some apps really made me laugh, like “rev” (what a surprise it’s available natively!) and aquarium! Thanks so much!

  2. rokded says:

    ssh 2048.run
    telnet 2048.run

    lets you play 2048 (the game) in the terminal

  3. Nathan Butler says:

    AmI the only one that can’t get Star Wars to play in the terminal? Do I need a specific file to download?

  4. Neger says:

    You are super Unixer

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest