Convert A String To Lower Case On The Command Line With tr

November 2021

The tr command can convert a string to lowercase in bash, zsh, etc... For example:

echo "Alfa Bravo" | tr '[:upper:]' '[:lower:]'
Output:
alfa bravo
end of line

References

This page has a slew of other ways to lower case strings