How To Use Bash Parameter Substitution Like A Pro

Originally published at: https://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html

The $ character is used for parameter expansion, and command substitution. You can use it for manipulating and expanding variables on demands without using external commands such as sed or awk.