You can also pipe lolcat with cowsay command that creates ASCII art of a cow (or other animals) with a speech bubble containing a message. # echo I ❤ Tecmint Linux Blog | lolcat -a -d 500Īnimate Text in Linux cowsay Command ExampleĦ. To animate text using lolcat, you can use the option -a for animation and -d for duration i.e. # figlet I Love Tecmint Linux Blog | lolcatĥ. Once you have figlet installed, you can use it with lolcat to make the output text colorful as shown: # echo I ❤ Tecmint | lolcat To use figlet, you’ll need to have it installed on your Linux system. You can also pipe lolcat with the figlet command, which is a utility that creates ASCII art banners and large letters from ordinary text. Lolcat View Shell Script Code figlet Command ExampleĤ. Use lolcat to display codes of a shell script file called tecmint_monitor.sh as shown: # lolcat tecmint_monitor.sh Next, piping lolcat with other Linux commands, for example, ps, date, and cal. To use lolcat, make sure to know the available options and help using the following command. Once you have lolcat installed, you can use it in the terminal by piping text to it or by providing a file as input as shown in the following examples. To use lolcat, you’ll need to have it installed on your Linux system using your default package manager as shown.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |