Friday, April 16, 2010

Shell :: Command-line arguments

$0 is the name of the command
$1 first parameter
$2 second parameter
$3 third parameter etc. etc
$# total number of parameters
$@ all the parameters will be listed

No comments:

Post a Comment