Skip to main content

Variables

Uppercase

VAR="vaRiAbLe"
echo "Uppercase ${VAR^^}"

VARIABLE

Lowercase

echo "Lowercase ${VAR,,}"

variable

First Letter Capitalized

echo "First Letter Capitalized: ${VAR^}"

Variable