Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jul 092010
 

Print large banner on printer

Answer:

This is a less well known command for Linux. It allow you to prints a large, high quality banner on the standard output.

Example:

# banner -w 80 Hello World

Where -w change the width of the output, in which the default is 132.

Jun 172010
 

Case conversion of string in Linux

Answer:

To convert a string to upper case letter, you can use the following command.

# echo 'Test' | tr '[:lower:]' '[:upper:]'

On the other hand, if you want to convert from upper case to lower case, you can use

#echo 'Test' | tr '[:upper:]' '[:lower:]'