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