FIGlet is a utility for creating large characters out of ordinary screen characters. It's often used in terminal sessions to create eye-catching text, banners, or headers. This project will guide you through the process of using it to generate text, and customizing your output with different fonts.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
linux(("`Linux`")) -.-> linux/PackagesandSoftwaresGroup(["`Packages and Softwares`"])
linux/PackagesandSoftwaresGroup -.-> linux/software("`Linux Software`")
subgraph Lab Skills
linux/software -.-> lab-272383{{"`Crafting Striking Terminal Text with FIGlet`"}}
end
Create Large Letters
To use figlet, open the terminal ( â or ⥠in the figure ) in the environment and simply type figlet followed by the text you want to display::
figlet Hello World
This command display "Hello World" in large letters.
Changing Fonts
To use a specific font, use the -f option followed by the font name:
You can add figlet commands to your .bashrc or .zshrc file to display a banner each time you open a terminal:
echo "figlet -f slant 'Welcome to Labex!'" >> ~/.bashrc
Summary
FIGlet is a fun and simple way to add large text banners to your terminal sessions. Whether you're spicing up your script outputs, creating headers for your terminal-based presentations, or just having fun with terminal customization, FIGlet provides an easy-to-use interface for big, bold text. Experiment with different fonts and options to find your favorite style.
We use cookies for a number of reasons, such as keeping the website reliable and secure, to improve your experience on our website and to see how you interact with it. By accepting, you agree to our use of such cookies. Privacy Policy