In shell programming some variables with special functionalities are available providing specific information on processes or arguments in use. Below a listing of the most important are shown along with examples.
$#
number of command-line arguments applied in the current script
$*
list of positional parameters handled as a single item (must always be used quoted)
$@