Dave's Brain

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
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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.