Linux Commands

What is Banner in Linux


The banner program displays ASCII character strings in the large letter on the standard output in Linux distributions. It becomes interesting when someone logs in via terminal and sees a beautiful string of letters.

Install Banner:

Run the mentioned apt command to install “banner” in the Linux system:

$ sudo apt install sysvbanner

To get a manual page of banner in the terminal, type the below-mentioned command:

$ man banner

And terminal will display the following output:

Banner Command Examples:

Let’s give some strings to the command and prints its output:

Example 1:

To print Fire in terminal using the banner command, type command given below:

$ banner Fire

Example 2:

To print Linuxhint in terminal:

$ banner Linuxhint

Example 3:

To display 2021 number in terminal using the banner command:

$ banner 2021

Conclusion:

The “banner” command is used in Unix-based operating systems to display ASCII characters string on the terminal. In this guide, we have seen how to install the banner tool in Linux and its examples.

About the author

Wardah Batool

I am a Software Engineer Graduate and Self Motivated Linux writer. I also love to read latest Linux books. Moreover, in my free time, i love to read books on Personal development.