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