Home Linux Shell
Special

$0  name of the called program with full path
${0##*/}  name of the called program without the path
${0##*.}  extension only

$*  all parameters passed
$?  return code of last execution