What command prints a string as "big ascii text art" in bash?
Solution 1:
$ figlet you want figlet _ __ _ _ _ _ _ ___ _ _ __ ____ _ _ __ | |_ / _(_) __ _| | ___| |_ | | | |/ _ \| | | | \ \ /\ / / _` | '_ \| __| | |_| |/ _` | |/ _ \ __| | |_| | (_) | |_| | \ V V / (_| | | | | |_ | _| | (_| | | __/ |_ \__, |\___/ \__,_| \_/\_/ \__,_|_| |_|\__| |_| |_|\__, |_|\___|\__| |___/ |___/
Solution 2:
There's also the old-school command "banner". It is crude but effective.
$ banner banner
###### # # # # # ####### ######
# # # # ## # ## # # # #
# # # # # # # # # # # # #
###### # # # # # # # # ##### ######
# # ####### # # # # # # # # #
# # # # # ## # ## # # #
###### # # # # # # ####### # #
A bit of googling showed me that rpmfind knows where to find it (although rpmfind appears to be having problems themselves these days...)
Solution 3:
Figlet can do that, and is in the Ubuntu Repos sudo apt-get install figlet
:
"Using Figlet to Spice Up your Scripts" is a recent Linux Journal Article on the Topic.
Solution 4:
cowsay
$ cowsay cowsay makes banners
______________________
< cowsay makes banners >
----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$ cowsay -f tux cowsay is customisable
________________________
< cowsay is customisable >
------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
cowsay
is amusingly '90s and provides a bunch of options for tweaking the cow's appearance. Read man cowsay
.
It's still packaged for Ubuntu and Debian: sudo apt install cowsay
Solution 5:
It is likely that your first example was created using boxes.