Special parameters
A number of special parameters, all starting with $
, get expanded by Bash.
$1
,$2
,$3
, … are positional special characters$@
is an array-like construct referring of all positional parameters$#
expands to the number of arguments$$
pid of the current shell$!
expands to the PID of the most recent background command$0
expands to the name of the current shell or script