tldr/pages/common/figlet.md

34 lines
749 B
Markdown
Raw Normal View History

2017-01-19 22:49:50 +00:00
# figlet
> Generate ASCII banners from user input.
2021-08-30 01:38:30 +01:00
> See also: `showfigfonts`.
2021-04-17 16:15:37 +01:00
> More information: <http://www.figlet.org/figlet-man.html>.
2017-01-19 22:49:50 +00:00
- Generate by directly inputting text:
`figlet {{input_text}}`
- Use a custom [f]ont file:
2017-01-19 22:49:50 +00:00
2021-07-14 20:31:29 +01:00
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
- Use a [f]ont from the default font directory (the extension can be omitted):
2021-07-14 20:31:29 +01:00
`figlet {{input_text}} -f {{font_filename}}`
2017-01-19 22:49:50 +00:00
- Pipe command output through FIGlet:
2017-01-19 22:49:50 +00:00
`{{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}}`