bash change case
# Basic syntax: tolower(string) toupper(string) # Example usage: awk '{print tolower($0)}' input_file # This prints every row ($0) converted to lowercase awk '{print toupper($3)}' input_file # This would print the third field ($3) converted to uppercase
Source: thomas-cokelaer.info
bash variable lowercase
# In Bash 4.0 a=DHCP echo "${a,,}" # Output: dhcp
Source: stackoverflow.com