|
The $ character is used for parameter expansion, and command substitution. You can use it for manipulating and/or expanding variables on demands without using external commands such as sed or awk.
The syntax is as follows:
${parameter:-defaultValue}varView the Original article