How-To: Bash Parameter Expansion and Default Values
Bash is a sh-compatible command language interpreter that executes commands read from the standard input or from a file.There is much more to bash than running a sequence of commands, one of the features bundled with bash is parameter expansion.