Lolcat – A Command Line Tool to Output Rainbow Of Colors in Linux Terminal

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...

13 Responses

  1. Raghav says:

    Super super super. I loved it…

  2. Manuel says:

    Great article but on openSUSE, after you ‘wget’ from github, you will have to install the gems before thy can be used.

    Just type ‘cnf lolcat’ after pulling the gems from github and it will show where the files are found. You can go back to your home directory now using
    ‘cd ..’.

    After you’ve found location, type in ‘sudo zypper install ‘. Usually, the package looks like this ‘ruby2.1-rubygem-lolcat ‘.

    Then you can now test it with lolcat – h.


  3. ActionParsnip says:

    Is there a way to pipe ALL commands through lolcat

    • Ravi Saive says:


      Yes, you can use any Linux command with lolcat as shown in few below examples:

      # ps | lolcat
      # date | lolcat
      # cal | lolcat
  4. Dominic says:

    I found it quite amusing to pipe fortune through cowsay and then through lolcat. For example:
    ” fortune | cowsay | lolcat ” came out as (In colour of course in the terminal)
    / This is the first age that’s paid much \
    | attention to the future, which is a |
    | little ironic since we may not have |
    | one. |
    | |
    \ — Arthur Clarke /
    \ ^__^
    \ (oo)\_______
    (__)\ )\/\
    ||—-w |
    || ||

    • Andrew Woodhead says:

      Yes I can add the pipe. I know how to do that. I’m asking is there a way to make it happen automatically so that it’s not needed to manually add the pipe

      • John Kevin Soriano says:

        I have the same question as well, what I did for now is to create an alias for some selected command then pipe lolcat.

  5. A troll says:

    Nice typo – Techmit. Lolcat!

  6. John says:

    Just a toy – Certainly not something you want or even need in a production system – But I’m sure you all knew that!

  7. Ginger Danger says:

    Most amusing.

  8. Anthony says:

    Really loving these articles, I look forward to your posts in my fb feed everyday. Keep up the good work man!

    • Avishek Kumar says:

      Dear Anthony,
      Its very pleasing to get such kind of appreciation.
      Thanks for your good words.
      Keep Connected!

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.