How to uppercase all letters of a string in Bash
In this tutorial, we will learn how to uppercase all letters of a string in Bash.
Uppercase the string
To uppercase the string, we can use the double carets ^^ symbol in Bash.
Here is an example, that converts the lowercase string 'lara' to uppercase:
name='lara'
uppercase=${name^^}
echo $uppercaseOutput:
"LARA"

