mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
39 lines
843 B
Plaintext
39 lines
843 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|