June 8, 2009

Uppercase in BASH


echo "foo" | tr '[:lower:]' '[:upper:]'

Reverse upper with lower to get lowercase.


bash, Linux, lowercase, Snippets, uppercase

You may also like

Leave a Reply

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

Information about Data protection

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}