Browse - Computer Tips - How can I make a sign or banner on the command line?

Date: 2016mar9
OS: Linux
Keywords: ASCII art

Q.  How can I make a sign or banner on the command line?

A.  The classic is banner:

banner Hello
Which gives:
# # ####### # # ####### # # # # # # # # # # # # # # ####### ##### # # # # # # # # # # # # # # # # # # # # ####### ####### ####### #######
Relative new-comer figlet has many options. Basic usage is simple:
figlet Hello _ _ _ _ | | | | ___| | | ___ | |_| |/ _ \ | |/ _ \ | _ | __/ | | (_) | |_| |_|\___|_|_|\___/
Or use the shadow font
figlet -f shadow | | | | | | _ \ | | _ \ ___ | __/ | | ( | _| _|\___|_|_|\___/
Or bubble:
figlet -f bubble Hello _ _ _ _ _ / \ / \ / \ / \ / \ ( H | e | l | l | o ) \_/ \_/ \_/ \_/ \_/
To see all the fonts on RedHat/Fedora/CentOS:
rpm -q -l figlet | grep .flc
To install on RedHat/Fedora/CentOS:
dnf install banner figlet
To post a banner on Slack use triple back quotes:
``` / \ / \ / \ / \ / \ ( H | e | l | l | o ) \_/ \_/ \_/ \_/ \_/```