To change the letters in the string to upper or lower case we can use tr command:
$ echo "Hello world" | tr a-z A-Z
HELLO WORLD
$ echo "Hello world" | tr A-Z a-z
hello world
Monday, March 29, 2010
Subscribe to:
Post Comments (Atom)
Feel the power of the linux console. Useful commands, funny tools and scripts.
This comment has been removed by a blog administrator.
ReplyDelete