Funny Commands In Linux

Funny Commands In Linux

Hey guys, Do you know there are some funny commands in Linux. Linux command line can perform any complex task very easily and with perfection and can be interesting and joyful. The commands we are going to see are those interesting commands which can show you the beauty and the magic of command line. These commands make the objects with the special symbols and alpha-numeric patterns.

So let's see the commands,

| cowsay Command

Cowsay is a command that displays a cow using ASCII characters in the terminal. And by using this command you can instruct the cow to say anything you want. which is useful in the output of the desired text with an animated character cow.

Let's see how to install and use cowsay command :-

# yum install cowsay    //to install cowsay files

# cowsay -l             //to see the animals available with the                    
                        //cowsay        

#cowsay -l shows the list of animals available with cowsay command

No alt text provided for this image

there are many animals available with cowsay command like, bunny, dragon, elephant, elephant-in-snake eyes, flaming-sheep, fox, ghostbusters and many more. The default animal is set to cow with this command. Let's see how to use the cowsay command.

# cowsay <"Text to print">        

Let's see the example.

No alt text provided for this image

If we want to change the animals given in the list. We can use cowfile with -f options, Like

Dragon :-

No alt text provided for this image

Elephant :-

No alt text provided for this image

Turtle :-

No alt text provided for this image

| cmatrix command

#cmatrix is a command which creates the visual down falling matrix with numbers,letters and symbols. To install this we can use ,

$sudo yum install cmatrix   //to install the cmatrix

$cmatrix                    //to run the matrix shown like below        
No alt text provided for this image

| banner command

This command creates the banner like structure of text we want to be printed shown like below. To install and run this we can follow the syntax given below.

$ yum install banner                   //To install banner packages

$ banner <text to be printed>         //Creates the banner with the text        
No alt text provided for this image

| sl command

#sl command shows the running steam locomotive engine with symbols.

$ sudo yum install sl                   //to install sl package

$ sl                        //this shows running steam locomotive engine in CLI        
No alt text provided for this image

| pv command

#pv command is used to show text in marquee. We have to pass the string to pv command for printing the text in marquee format

To do this we don't have to install any package. We can directly pass the string to pv with echo command.# echo <"Text to be printed">| pv qL 10

No alt text provided for this image

| fire command

Do you know what? we also can burn a fire on CLI command line. To do this we have to install libaa-bin which is a art library in linux with which we can show the fire like structure with symbols.

# yum install libaa-bin            //to install the art library in linux

# aafire                           //to burn the fire in linux CLI        
No alt text provided for this image

| yes command

Here is a yes command which we can use to print anything for infinite times. This command will print the text given to is for infinite time until we stop it manually with ctrl+c.

# yes <Text to be printed>      
        
No alt text provided for this image

These are some commands we can use to have some fun with. So,

Keep Learning!

Thank You

To view or add a comment, sign in

More articles by Rohan Patil

  • Tricks we can use with Date command in Linux.

    Let's talk about the Date command in linux this time. In previous article we discussed about the espeak-ng tool.

    1 Comment
  • Using text to speech tool in Linux eSpeak-ng.

    Hello tech-geeks, in previous article we have discussed the zenity tool in linux. Now, we are going to discuss about…

  • Let's explore the Zenity tool in Linux.

    Let’s know the basics of a linux before diving in Zenity, Linux is a family of open-sources operating systems based on…

Others also viewed

Explore content categories