![]() ![]() Share your thoughts about these commands via the feedback form below.Hey guys, today we’ll see how you can display random ASCII art on a Linux terminal. In this article, we looked at two command-line utilities for transforming text to large ASCII text characters, useful for creating banners or messages. Read Also: Neofetch – Shows Linux System Information with Distribution Logo Summary For more information, refer to their man pages. (_/ |_/\_/| | |_/|_/ | |_/|_/o\_/\_/ | | |_/Ī number of the options for figlet that we have looked at above also apply to toilet. To change to a particular font, use the -f option, it also reads fonts from the same source as figlet. The simplest way of running it is as follows. The toilet command is also used to transform text to large ASCII characters. ![]() $ figlet -f slant "Sudo I Love You" _ _ _ _ _ _ Then use a particular font, for example, I use font slant.tlf as shown. You can check out available fonts like so. You can specify another font, using the -f flag, font is a. $ figlet -kp < girlfriend.txt _ _ _ _ _ _ $ echo "I wish I could chmod 644 my Girlfriend" >girlfriend.txt Rather than type your text on the command-line, you can read text from a file, using the -p option as shown. $ figlet -t įor a more clear output, you can use the -k flag to add a little space between the printed characters: check out the different between the above and below output as shown. If you have a wider terminal, you can use the full width of your terminal with the -t switch. You can also control the output width with the -w switch, the default width is 80 columns. In addition, also use -l to set the output to the left or -r to print it to the right. ![]() If you want the output to be created at the center, use the -c flag as shown. Once installed, the basic way of using figlet is by providing as an argument, the text that you want to transform as a banner or large text, as shown. To use FIGlet and TOIlet tools together, you first need to install them on your Linux system using default package manager as shown. How to Install and Use Figlet and Toilet Tools in Linux Read Also: 20 Funny Linux Commands to Have Fun in TerminalįIGlet is a simple command-line utility for creating ASCII text banners or large letters out of ordinary text, whereas TOIlet (a sub-command under figlet) is a command-line utility for creating colorful large characters from ordinary text. In this article, we will show how to create your own appealing ASCII text banners from plain text, using two command-line utilities called FIGlet and TOIlet. ![]() Recently, we have explained about how to randomly display predefined ASCII art on the Linux terminal, using a program called ASCII-Art-Splash-Screen. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |