convert a variable to lowercase string code example Example: bash variable lowercase # In Bash 4.0 a=DHCP echo "${a,,}" # Output: dhcp