BASH scripting TIP #1

In bash script file
$? - store exit value of last command that was executed
$* - store all args
"$@" - store all args, individually with qoute "$1", "$2"
$1 - first arg
$2 - second arg
$n - nth arg

Comments

Popular posts from this blog

Return Code 127