$1, $2, $3, ...
It's an array-like construct of all positional parameters, {$1, $2, $3 ...}.
"$@"
It's the IFS expansion of all positional parameters, $1 $2 $3 ....
"$*"
It's the number of positional parameters.
$#
current options set for the shell.
$-
pid of the current shell (not subshell).
$$
most recent parameter (or the abs path of the command to start the current shell immediately after startup).
$_
It's the (input) field separator.
$IFS
It's the most recent foreground pipeline exit status.
$?
It's the PID of the most recent background command.
$!
It's the name of the shell or shell script.
$0
http://stackoverflow.com/questions/5163 ... -variables
[ view entry ] ( 1365 views ) | print article
<<First <Back | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Next> Last>>