How to Uppercase/Lowercase Text in Unix/Linux

Uppercasing and lowercasing is a common task when working with text. Below are examples of doing this with standard Linux/Unix utilities.

Lowercasing text with tr

Uppercasing text with tr

Lowercasing text with awk

Uppercasing text with awk

Lowercasing text with sed

Uppercasing text with sed

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">