tldr/pages/common/figlet.md

26 lines
553 B
Markdown
Raw Permalink 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 font file:
2021-07-14 20:31:29 +01:00
`figlet {{input_text}} -f {{path/to/font_file.flf}}`
- Use a font 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}}`