UNIX / Linux: Display Large Colourful Text Banner On Screen

In UNIX and Linux, you can display a large colorful text banner on the screen using the figlet and lolcat utilities.

  1. To install the figlet and lolcat utilities on your system, you can use the following commands:

For Ubuntu and Debian:

$ sudo apt-get install figlet lolcat

For CentOS, Fedora, and RHEL:

$ sudo yum install figlet lolcat

For macOS:

$ brew install figlet lolcat
  1. Once installed, you can use the figlet utility to generate a large text banner. For example:
$ figlet "Hello World"

This will generate a large text banner of “Hello World”.

  1. You can use the lolcat utility to add colors to the banner. For example:
$ figlet "Hello World" | lolcat

This will generate a large text banner of “Hello World” with rainbow colors.

  1. If you want to redirect the banner to a file, you can use the tee command. For example:
$ figlet "Hello World" | lolcat | tee banner.txt

This will generate a large text banner of “Hello World” with rainbow colors and save it to a file called banner.txt.

(amazianmassage.com)

Leave a Comment