tr

Changing Case of a variable

echo $VAR_NAME | tr '[:upper:]' '[:lower:]'

echo $VAR_NAME | tr '[:lower:]' '[:upper:]'

Bash 4.x+...

echo "${VAR_NAME^^}"

echo "${VAR_NAME,,}"