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
Funny Linux Commands

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 
install pv command

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
install toilet in linux

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
install rig in Linux

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 
aview command in action

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
Install xeyes in Linux

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 
Install  cowsay in  Linux

cowsay command in action

How about Elephant inside ASCII goat?

$ cowsay -f gnu Tecmint is Best 
cowsay goat in action

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.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

15 Responses

  1. Liz Thompson says:

    asciiview saving just does not work for me

  2. DILSHATH SG says:

    Which rpm file is required for this commands?

  3. ashish says:

    when i m using the aview command i m getting this error:–

    Failed to convert file format to PNM by both convert and anytopnm
    Invalid magic-not p?m family format

  4. jeevan says:

    nice cmnds keep going…………………………………………….

  5. Which repo is needed for this ? I believe EPEL would work here!

  6. Shaik says:

    I tried aview but i didnt get it from any repo like remi and epel. could you give us the repo details

  7. Ditmar says:

    Indeed funny and interesting.

  8. champ007 says:

    hello brother while installing rig command he says No package rig available.
    Error: Nothing to do
    what to do bro.

  9. Jayesh K says:

    Very nice list of commands. I am surely going to try all of these. Keep Going to post such great articles.

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.