The Bourne shell has some special variables predefined, they include:-
$$ the current process id $? the exit status of the last command executed