The figlet command is used to create text in ASCII art format. Here’s how to use it:
-
Basic Usage: To create ASCII art from a simple text string, use the following command:
figlet "Your Text Here"For example:
figlet "Hello, World!" -
Using Different Fonts: You can specify different fonts using the
-foption. For example, to use the "slant" font:figlet -f slant "Hello, World!" -
Listing Available Fonts: To see a list of available fonts, you can use:
figlet -I2 -
Manual Page: For more detailed information about the options available with
figlet, you can check the manual page by running:man figlet -
Combining Options: You can combine options to customize the output further. For example:
figlet -f slant -w 100 "Custom Text"Here,
-wspecifies the width of the output.
Feel free to try these commands in your terminal!
