Upper and Lower Case

Upper and lower case in bash

l_text="TeXt"

echo "${l_text^^}"

Output:

TEXT

l_text="TeXt"

echo "${l_text,,}"

Output:

text