HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

figlet — Generate ASCII banners from user input. See also: `showfigfonts`. More information: <https://www.fig

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfromasciifigletclibannersusergenerate

Problem

How to use the figlet command: Generate ASCII banners from user input. See also: showfigfonts. More information: <https://www.figlet.org/figlet-man.html>.

Solution

figlet — Generate ASCII banners from user input. See also: showfigfonts. More information: <https://www.figlet.org/figlet-man.html>.

Generate by directly inputting text:
figlet {{input_text}}


Use a custom [f]ont file:
figlet -f {{path/to/font_file.flf}} {{input_text}}


Use a [f]ont from the default font directory (the extension can be omitted):
figlet -f {{font_filename}} {{input_text}}


Pipe command output through FIGlet:
{{command}} | figlet


Show available FIGlet fonts:
showfigfonts {{optional_string_to_display}}


Use the full width of the [t]erminal and [c]enter the input text:
figlet -t -c {{input_text}}


Display all characters at full [W]idth to avoid overlapping:
figlet -W {{input_text}}

Code Snippets

Generate by directly inputting text

figlet {{input_text}}

Use a custom [f]ont file

figlet -f {{path/to/font_file.flf}} {{input_text}}

Use a [f]ont from the default font directory (the extension can be omitted)

figlet -f {{font_filename}} {{input_text}}

Pipe command output through FIGlet

{{command}} | figlet

Show available FIGlet fonts

showfigfonts {{optional_string_to_display}}

Context

tldr-pages: common/figlet

Revisions (0)

No revisions yet.