Converting between uppercase and lowercase on the Linux command line

1974

Converting text between uppercase and lowercase can be very tedious, especially when you want to avoid inadvertent misspellings. Fortunately, Linux provides a handful of commands that can make the job very easy.

There are many ways to change text on the Linux command line from lowercase to uppercase and vice versa. In fact, you have an impressive set of commands to choose from. This post examines some of the best commands for the job and how you can get them to do just what you want.

The tr (translate) command, for instance, is one of the easiest to use on the command line or within a script.

[Source: Network World]