All for Joomla All for Webmasters

How to Generate ASCII Text Banners from the Linux Terminal


As described from project website, FIGlet is a program for making large letters out of ordinary text. It is usually included as part of many Unix-like operating system distributions such as Linux and BSD, but it has been ported to other platforms as well.

Activate Dag RPM Repository to install FIGlet.
Red Hat Enterprise Linux 5 / i386:
# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Red Hat Enterprise Linux 5 / x86_64:
# rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Now install figlet using,
# yum install figlet -y

After successfully installation, run below command to generate ASCII Text Banner,
# figlet -t LinuxArticles.org

Output:
Here are some of the common options when using FIGlet:
-f to select a font file.
-d to change the directory for fonts.
-c to center the output.
-l to left-align the output.
-r to right-align the output.
-t to set the output width to the terminal width.
-w to specify a custom output width.
-k to enable kerning, printing each letter of the message individually, instead of merged into the adjacent letters


Like it? Share with your friends!

1 SHARES
0
1 SHARES, 0 points

How to Generate ASCII Text Banners from the Linux Terminal

log in

Become a part of our community!

reset password

Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Meme
Video
Audio
Image