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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. Beginners Guide to DHCP – Install and configure DHCP server and client
  2. timeshift: command not found
  3. ac: command not found
  4. aireplay-ng – Inject packets into a wireless network (Command Examples)
  5. etcdctl: CLI interface for interacting with etcd, a highly-available key-value pair store
  6. namei Command Examples in Linux
  7. How to change the Default Log Directory(/var/log) in Rsyslog for CentOS/RHEL 6,7
  8. gzip: command not found
  9. How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  10. How to uninstall rbenv from Ubuntu

You May Also Like

Primary Sidebar

Recent Posts

  • “glab pipeline” Command Examples
  • “glab mr” Command Examples
  • “glab mr merge” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright