How to use FIGLET, TOILET in Linux?

In Linux to write some funny and beautiful messages in the terminal, we use Figlet and Toilet commands. We will learn how to use them to create colorful messages in the terminal. Let’s do it, but first what is Linux?

What is Linux?

Linux is just a cool Operating System just like Windows, but it is not Windows. The man behind Linux is Linus Torvalds. Above all, Linux is an open-source OS and the source code is available on Github. Do you need the link? Comment down. In addition, learn more Amazing facts about Linux here.

What are Figlet and Toilet?

Figlet, Toilet dislays a large characters in a colorful and funny ways. So, they look creative, funny and intersting.

How to install Figlet?

Just copy and paste the below command on your terminal and then, enter your password to install figlet.

sudo apt-get install figlet

How to install Toilet

Copy and paste the below command on your terminal and then, enter your password and press Y when asked, to install Toilet.

sudo apt-get install toilet

Before starting with Figlet and Toilet

Before starting with Figlet and Toilet in Linux, you must have knowledge how to use them. So, if you don’t know how to use them or what are the options available, run the below command on your terminal.

The man command in Linux stands for the Manual page of command. Say, “man ls”, it will show you the manual page for ls command on the terminal. So, whenever you don’t have any idea about the commands, just read the manual.

man figlet

Once you done reading all the options in figlet, just press q to quit from the manual page.

man toilet

Once you done reading all the options in toilet, just press q to quit from the manual page.

Let’s do some funs

Open a terminal and run the below commands, and then check the results by yourself. So, I am adding some of the outputs, and now, it is your turn.

Figlet Toilet in Linux
Figlet Toilet in Linux
sayan@Tec4Tric:~$ figlet Tec4Tric
 _____         _  _ _____     _      
|_   _|__  ___| || |_   _| __(_) ___ 
  | |/ _ \/ __| || |_| || '__| |/ __|
  | |  __/ (__|__   _| || |  | | (__ 
  |_|\___|\___|  |_| |_||_|  |_|\___|
sayan@Tec4Tric:~$ toilet Tec4Tric
                                                        
mmmmmmm                  mm mmmmmmm          "          
   #     mmm    mmm     m"#    #     m mm  mmm     mmm  
   #    #"  #  #"  "   #" #    #     #"  "   #    #"  " 
   #    #""""  #      #mmm#m   #     #       #    #     
   #    "#mm"  "#mm"      #    #     #     mm#mm  "#mm"
sayan@Tec4Tric:~$ toilet -f term -F border --gay Hi!
┌───┐
│Hi!│
└───┘
sayan@Tec4Tric:~$ toilet --metal Hi!
                     
 m    m   "      m   
 #    # mmm      #   
 #mmmm#   #      #   
 #    #   #      "   
 #    # mm#mm    #   
                     
sayan@Tec4Tric:~$ toilet -f bigmono9 -F metal Hello
                                   
                                   
               ███    ███          
 █    █          █      █          
 █    █          █      █          
 █    █  ███     █      █     ███  
 █    █ ▓▓ ▒█    █      █    █▓ ▓█ 
 ██████ █   █    █      █    █   █ 
 █    █ █████    █      █    █   █ 
 █    █ █        █      █    █   █ 
 █    █ ▓▓  █    █░     █░   █▓ ▓█ 
 █    █  ███▒    ▒██    ▒██   ███