Blog

Conversion of string from lower to upper cases

Tags: case conversionstringtolowertoupper

Published on: August 21, 2014 by Felix

Conversion of string from lower to upper cases

Scenario:

Commands for string case conversion

To convert upper case letters to lower case and vice versa you can use the following format


echo STRING | awk '{ print toupper($1);}'

Eg:

# echo ibm | awk ‘{ print toupper($1);}’

IBM


# echo IBM | awk '{ print tolower($1);}' ibm

 

Category : Howtos, Linux, Troubleshooting

Felix

Felix

Firaz has been in the Web Hosting industry since 2012. He is always fascinated in resolving complicated DNS, cPanel and other Web hosting issues. He loves to help newbies to climb the hill from a fresher to an experienced System admin. Movies and songs are his favourite passtime.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend