Bash Parameter and Variable Expansion
Jump to navigation
Jump to search
Internal
Overview
A dollar sign ($) that is NOT followed by an open parenthesis initiates parameter or variable expansion. The simplest case of parameter expansion is retrieving the parameter value: the associated value is retrieved by prefixing the parameter's number, character or name with $ or enclosing it in ${...}.
Difference between $ and ${...}
TODO