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]#

4 comments:

  1. hi vikas,

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

    ReplyDelete
  2. May be banner is not installed.
    Try First
    yum install banner

    Then try
    'banner ankit'

    Hope helps..

    ReplyDelete
  3. OR
    download rpm form
    http://rpmfind.net//linux/RPM/fedora/8/i386/banner-1.3.1-5.fc8.i386.html

    To install
    rpm -ivh rpmname

    ReplyDelete