next up previous contents
Next: Unset variables Up: Variables Previous: Shell Variables   Contents

Special variables

The Bourne shell has some special variables predefined, they include:-



$$ the current process id
$? the exit status of the last command executed



P.D. Gronbech (IT Staff) 2015-10-02