Skip to main content
code reformatting
Source Link
Romeo Ninov
  • 19.5k
  • 5
  • 34
  • 48

$?$?-The exit status of the last command executed.

$0$0-The filename of the current script.

$#$#-The number of arguments supplied to a script.

$$$$-The process number of the current shell. For shell scripts, this is the process ID under which they are executing.

$?-The exit status of the last command executed.

$0-The filename of the current script.

$#-The number of arguments supplied to a script.

$$-The process number of the current shell. For shell scripts, this is the process ID under which they are executing.

$?-The exit status of the last command executed.

$0-The filename of the current script.

$#-The number of arguments supplied to a script.

$$-The process number of the current shell. For shell scripts, this is the process ID under which they are executing.

Source Link

$?-The exit status of the last command executed.

$0-The filename of the current script.

$#-The number of arguments supplied to a script.

$$-The process number of the current shell. For shell scripts, this is the process ID under which they are executing.