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

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

Sayan De

Sayan De is pursuing his M.Tech in CSE. His interest area of work is Machine Learning, Deep Learning, Deep NLP, Computer Vision, Data Science, Linux, and a little bit of Website Development.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.