How to use figlet command?

QuestionsQuestions8 SkillsProYour First Linux LabOct, 02 2025
0116

The figlet command is used to create text in ASCII art format. Here’s how to use it:

  1. Basic Usage: To create ASCII art from a simple text string, use the following command:

    figlet "Your Text Here"

    For example:

    figlet "Hello, World!"
  2. Using Different Fonts: You can specify different fonts using the -f option. For example, to use the "slant" font:

    figlet -f slant "Hello, World!"
  3. Listing Available Fonts: To see a list of available fonts, you can use:

    figlet -I2
  4. Manual Page: For more detailed information about the options available with figlet, you can check the manual page by running:

    man figlet
  5. Combining Options: You can combine options to customize the output further. For example:

    figlet -f slant -w 100 "Custom Text"

    Here, -w specifies the width of the output.

Feel free to try these commands in your terminal!

0 Comments

no data
Be the first to share your comment!