Print Awesome ASCII Text in Linux Termina — LinuxBots
In this article, we will learn how to print colorful and exciting ASCII text banners in Linux Terminal. We have two command-line tools called Figlet and Toilet for making this possible. The Figlet tool is written by John Cowan and the Toilet tool is written by Sam Hocevar.
Both tools are having many interesting options. So let’s get into it and have some fun with these two awesome tools.
Install and Use Figlet in Linux
Figlet command converts normal input characters into big fancy characters. It takes input as a direct text or from a text file. You can install Figlet by using the below command.
After the successful installation of Figlet, Let’s uses Figlet by providing your desired text as an argument for converting it into a banner or large characters. See the Example below
root@linuxbots:~# figlet Linuxbots.com
_ _ _ _
| | (_)_ __ _ ___ _| |__ ___ | |_ ___ ___ ___ _ __ ___
| | | | '_ \| | | \ \/ / '_ \ / _ \| __/ __| / __/ _ \| '_ ` _ \
| |___| | | | | |_| |> <| |_) | (_) | |_\__ \| (_| (_) | | | | | |
|_____|_|_| |_|\__,_/_/\_\_.__/ \___/ \__|___(_)___\___/|_| |_| |_|
Print Output in Center
To print, the output in the center of the screen by using the below command.