How to convert letters to lower case in Bash
echo "THIS IS MY DATA" | tr '[:upper:]' '[:lower:]'
UPPERCASE using bash
# y="this Is A test"
# echo "${y^^}"
THIS IS A TEST
lowercase using bash
# x=”THIS IS a TeSt”
# echo “${x,,}”
this is a test
Photo by Gabriel Heinzer on Unsplash

