6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

In our past following articles, we’ve shown some useful articles on some funny commands of Linux, which shows that Linux is not as complex as it seems and can be fun if we know how to use it. Linux command line can perform any complex task very easily and with perfection and can be interesting and joyful.

  1. 20 Funny Commands of Linux – Part I
  2. Fun in Linux Terminal – Play with Word and Character Counts
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

Funny Linux Commands

The former Post comprises of 20 funny Linux Commands/Script (and subcommands) which was highly appreciated by our readers. The other post, though not that much popular as former comprises of Commands/ Scripts and Tweaks which lets you play with text files, words and strings.

This post aims at bringing some new fun commands and one-liner scripts which is going to rejoice you.

1. pv Command

You might have seen simulating text in movies. It appears as, it is being typed in real time. Won’t it be nice, if you can have such an effect in terminal?

This can be achieved, by installing ‘pv‘ command in your Linux system by using ‘apt‘ or ‘yum‘ tool. Let’s install ‘pv‘ command as shown.

# yum install pv			[On RedHat based Systems]

# sudo apt-get install pv	        [On Debian based Systems]

Once, ‘pv‘ command installed successfully on your system, let’s try to run the following one liner command to see the real time text effect on the screen.

$ echo "Tecmint[dot]com is a community of Linux Nerds and Geeks" | pv -qL 10 
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

pv command in action

Note: The ‘q‘ option means ‘quite’, no output information and option ‘L‘ means the Limit of Transfer of bytes per second. The number value can be adjusted in either direction (must be integer) to get desired simulation of text.

2. toilet Command

How about printing text with border in terminal, using an one-liner script command ‘toilet‘. Again, you must have ‘toilet‘ command installed on your system, if not use apt or yum to install it.

$ while true; do echo “$(date | toilet -f term -F border –Tecmint)”; sleep 1; done
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

toilet command in action

Note: The above script needs to be suspended using ctrl+z key.

3. rig Command

This command generates a random identity and address, every time. To run, this command you need to install ‘rig‘ using apt or yum.

# rig
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

rig command in action

4. aview Command

How about viewing an image in ASCII format on the terminal? We must have a package ‘aview‘ installed, just apt or yum it. I’ve an image named ‘elephant.jpg‘ in my current working directory and I want view it on terminal as ASCII format.

$ asciiview elephant.jpg -driver curses 
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

aview command in action

5. xeyes Command

In last article we introduced a command ‘oneko‘ which attaches jerry with mouse pointer and keeps on chasing it. A similar program ‘xeyes‘ which is a graphical programs and as soon as you fire the command you will see two monster eyes chasing your movement.

$ xeyes
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

xeyes command in action

6. cowsay Command

Do you remember last time we introduced command, which is useful in output of desired text with animated character cow. What if you want other animal in place of cow? Check a list of available animals.

$ cowsay -l 

How about Elephant inside ASCII Snake?

$ cowsay -f elephant-in-snake Tecmint is Best 
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

cowsay command in action

How about Elephant inside ASCII goat?

$ cowsay -f gnu Tecmint is Best 
6 Interesting Funny Commands of Linux (Fun in Terminal) – Part II

cowsay goat in action

That’s all for now. I’ll be here again with another interesting article. Till then stay update and connected to Tecmint. Don’t forget to provide us with your valuable feedback in the comments below.

Source: tecmint.com

Be the first to comment

Leave a Reply

Your email address will not be published.


*