Below we will see why Linux can stand out by simply allowing any configuration in the system. We will use the lolcat package to turn the commands displayed on the terminal screen into a rainbow. Yes the commands will appear in Colourof the rainbow, in slow motion.
Interesting; Let's see how it works:
As I mentioned earlier, we will use the LOLcat application. The cat commands come with enhanced color and Rainbow-like colors.
The LΟLcat application is available on almost all modern Linux distributions by defaultchoice in their repository. Alternatively, you can install the latest version of LΟLcat from the git repository.
For Lolcat to work you will need the latest version of RUBY. Below are the commands to install on the distribution you are using:
(Proceed as follows if the application does not already exist in your distribution repositories)
apt-get install ruby [for systems with APT] yum install ruby [for systems with Yum] dnf install ruby [for DNF systems]
When installing the ruby, confirm the version:
2. Then download and install the latest version of lolcat from the git repository with the following commands:
wget https://github.com/busyloop/lolcat/archive/master.zip unzip master.zip cd lolcat-master / bin gem install lolcat
Check the version again
Let's run LOTcat. The basic syntax for LOLcat is:
LOLcat [options] [archives]
The app comes with many options that controln her behavior. Below are some of the most important commands:
-a passes each line through a motion effect.
-d determines the duration (number of steps before the next line appears) of the motion effect, the default value is 12.
-s determines the speed (frame rate - number of steps per second) of the motion effect, the default value is 20.
-f allows coloring
You can find more choices here.
But let's look at the result:
Let's try the help command:
lolcat -h
Impressive;
Let's run the commands:
echo I ❤ SecNews | lolcat figlet I Love SecNews | lolcat
Note that the character ❤ is unicode character and to install figlet run the following command with yum, dnf or apt:
apt-get figlet yum install Figlet dnf install figlet