5 Interesting and Funny Linux Commands





Hi everyone, in this post we are going to share some linux commands that give interesting results. Let's take a look at them:

1- Command : sl

You are probably aware of the command ls which is used for listing directory contents. But imagine making a typo and writing it reversed. What would you expect? Well, you will get "command not found" message if you haven't installed anything for this. How about we install something and make this a little fun:

username@username:~$ sudo apt-get install sl   (In Debian like OS)
username@username:~$ sudo yum -y install sl   (In Red Hat like OS)

From now on, whenever you write something similar to ls, like LS or sl you will see a fun animation to cheer you up :)

username@username:~$ sl


Here is what it looks like:


2 - Command : cowsay

This command gives you an ASCII cow in terminal that will say whatever you want:


username@username:~$ sudo apt-get install cowsay   (In Debian like OS)
username@username:~$ sudo yum -y install cowsay   (In Red Hat like OS)


username@username:~$ cowsay Codemio.com - Programming and Technology

You can also install xcowsay, cowthink and observe the difference. Here is the output :)


3 - Command : fortune

How about getting your random fortune, sometimes funny in your terminal.

username@username:~$ sudo apt-get install fortune   (In Debian like OS)
username@username:~$ sudo yum -y install fortune   (In Red Hat like OS)


username@username:~$ fortune

This is the output:


4 - Command : toilet

In order to use this command you need to install the toilet :P This command prints texts in a fancy way.


username@username:~$ sudo apt-get install toilet   (In Debian like OS)
username@username:~$ sudo yum -y install toilet   (In Red Hat like OS)

Here is the output:


5 - Command : cmatrix


You might have seen the movie ‘matrix‘ and if you want your desktop to look like a Hacker‘s desktop go ahead and install this.


username@username:~$ sudo apt-get install cmatrix   (In Debian like OS)
username@username:~$ sudo yum -y install cmatrix   (In Red Hat like OS)


username@username:~$ cmatrix

This would be the output: (Press Ctrl+C to stop the animation)


Alright, that's all everyone. I hope you liked these, if so please share this post and if you know more of these interesting commands, comment below. Happy coding!

You Might Also Like: 120+ Linux Commands That Are Actually Useful

Like or Share :)

Author:

Software Developer, Codemio Admin


Disqus Comments Loading..