diff --git a/pages/common/figlist.md b/pages/common/figlist.md new file mode 100644 index 0000000000..216e61ae58 --- /dev/null +++ b/pages/common/figlist.md @@ -0,0 +1,21 @@ +# figlist + +> Lists the figlet fonts and control files. +> See also: `figlet`, `showfigfonts`, `chkfont`. +> More information: . + +- List all available fonts using the default font directory: + +`figlist` + +- List fonts from a custom directory: + +`figlist -d {{path/to/directory}}` + +- Search for a font by keyword: + +`figlist -d {{path/to/directory}} | grep {{keyword}}` + +- Count the total number of available fonts in a specified directory: + +`figlist -d {{path/to/directory}} | wc {{[-l|--lines]}}`