Internal

$?

  • Exit status of a command, function, or the script itself

$$

  • Process ID (PID) of the script itself
    • The $$ variable often finds use in scripts to construct "unique" temp file names

$_

  • Special variable set to final argument of previous command executed.

$!

  • PID (process ID) of last job run in background