How to convert first character in a variable to uppercase in bash

Bash provides an option to convert first character in a variable to uppercase though one simple command.

#echo "${VAR^}"

Where VAR need to be replaced with the variable.

That's all…