Variable Substitution

Variable Substitution

Reference: https://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html

Variable substitution enables the shell programmer to manipulate the value of a variable based on its state.

Here is the following table for all the possible substitutions −