Search This Blog

Thursday, February 19, 2009

Banner command

banner

banner [option] [characters]

Print characters as a poster. If no characters are supplied, banner prompts for them and reads an input line from standard input. By default, the results go to standard output, but they are intended to be sent to a printer.
Option
-w width

Set width to width characters. Note that if your banner is in all lowercase, it will be narrower than width characters. If -w is not specified, the default width is 132. If -w is specified but width is not provided, the default is 80.

e.g

[root@vikas 18-feb]# banner vikas

# # ### # # # #####
# # # # # # # # #
# # # # # # # #
# # # ### # # #####
# # # # # ####### #
# # # # # # # # #
# ### # # # # #####

[root@vikas 18-feb]#

2 comments:

  1. hi vikas,

    I have tried banner cmd but it gives me
    bash: banner: command not found

    ReplyDelete