• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lolcat: command not found

by admin

lolcat is a program that concatenates files, or standard input, to standard output (like the generic cat), and adds rainbow coloring to it.

lolcat command not found

In case you encounter the below error:

lolcat: command not found

you may try installing the below package as per your choice of distribution.

Distribution Command
OS X brew install lolcat
Debian apt-get install lolcat
Ubuntu apt-get install lolcat
Arch Linux pacman -S lolcat
Kali Linux apt-get install lolcat
Raspbian apt-get install lolcat

lolcat Command Examples

1. Print a file to the console in rainbow colors:

$ lolcat path/to/file

2. Print the result of a text-producing command in rainbow colors:

$ fortune | lolcat

3. Print a file to the console with animated rainbow colors:

$ lolcat -a path/to/file

4. Print a file to the console with 24-bit (truecolor) rainbow colors:

$ lolcat -t path/to/file

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to start/stop Virtual Machines in RedHat Virtualization
  2. lolcat Command Examples in Linux
  3. htpdate Command Examples in Linux
  4. a2enconf Command Examples in Linux
  5. lxc Command Examples in Linux
  6. ntpdate Command Examples in Linux
  7. LVM and multipathing – sample LVM filter strings
  8. apt-add-repository Command Examples
  9. hdparm Command Examples in Linux
  10. Server Application Getting “connection refused” From Remote Servers [due to firewalld or iptables] – CentOS/RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • raw: command not found
  • raw Command Examples in Linux
  • rankmirrors Command Examples in Linux
  • radeontop: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright