Sunday, February 18, 2007

Using the Banner Command to Print to STDOUT

This is the 100th post. Here's something for standard output.

One word per line
# banner Thank you for visiting and contributing to My SysAd Blog

On one line
# banner "My SysAd Blog"

If you trying to use the banner command to output something to the printer, then you can use this syntax.
# banner This message is outputting to the printer - My SysAd Blog – UNIX | lp

Note:
If you are trying to use the Open Boot Prom's banner command, that's a different command altogether and here's the post: Get hardware, Platform, RAM and Ethernet Information

No comments: