Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

banner command in Linux with examples

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

banner command in linux is used to print the ASCII character string in large letter to standard output. 

Syntax: 

banner text

Example 1: Printing “1234567890” in large letters. 

Example 2: Printing “GeeksforGeeks” in large letters. There are two things:  

  • First, all the letter will be displayed in Capital letters in standard output.
  • Second, only “GEEKSFORGE” will be printed as banner has a default capacity of 10 characters in a word. After that, you have to give space which is shown in further examples.

Example 3: Printing “Geeks for Geeks” on display. 

Example 4: Trying to print 1234567890123 in a single word but only 1234567890 will be printed on display. 

info banner or man banner command : It displays help information. 

Note: If the terminal shows banner not found, then in UBUNTU use ‘sudo apt install sysvbanner‘ or ‘sudo apt install banner‘ to download it. 

My Personal Notes arrow_drop_up
Last Updated : 31 Aug, 2021
Like Article
Save Article
Similar Reads
Related Tutorials