Table of Contents
Today, in this article, we show How to Make the Linux terminal more colorful with lolcat. lolcat It has nothing to do with lolcats. It is a program that displays rainbow text on your device. It is similar to the cat program: you can pass files with command line arguments or output in them.
Lolcat is a utility for Linux, BSD, and OSX that works similarly to the cat (Unix) command and produces rainbow-colored output. The /usr/bin/lolcat application is similar to the /usr/bin/cat known to the Unixoid operating system. lolcat is mainly used to output rainbow color text in Linux terminal. lolcat was originally developed in Ruby, there is a Python clone, and also in C of jaseg, this is probably the most performant version, which is available as a binary in many distribution repositories.
How to Make Linux terminal more colorful with lolcat
the way to define up lolcat on Linux
Step 1: lolcat it’s simple to put using normal Linux package managers. For example, in Debian or Ubuntu:
sudo apt set up lolcat
Step 2: About RHEL, fedoraand CentOS:
sudo dnf set up lolcat
Step 3: Is at Arch Linux:
sudo pacman -S lolcat
Using lolcat to add colors to the terminal
Step 1: It is also possible provide a file title and lolcat will print its content in rainbow colors so good:
lolcat file.txt
Step 2: The real pleasure comes as you use it in pipelines. You can print ad listings at Vivid colors:
ls -laR | lolcat
Step 3: how many different command line packages, lolcat has options that you can adjust to fine-tune the output. O -one choice shows a color cycling animation before the road print. O -d and -s choices managing the size and speed of this animation.
Step 4: O -P choice will be the management of the slope of the stripes. O -F choice controls the frequency of the rainbow impact. O -t choice allows 24-bit shadow, while -f forces shadow output (choices are case sensitive, as in many different Linux instructions). O -I choice will invert the foreground and background colors, giving a rainbow background to your terminal textual content.
Final Words
We hope you like our article on How to Make the Linux Terminal more colorful with lolcat. While the command line is productive, you can make your Linux terminal look nice and have fun with the right tools like lolcat. Linux terminal offers many ways to let off steam, such as entertainment tutorials to use when you run out of terminal options.