Processes Termination
Orphan process
- a process whose parent is the init process (pid 1) because its original parent died before it did
Terminating a process: exit()
Every normal process is a child of some parent, a terminating process sends its parent a SIGCHLD signal and waits for its termination code status to be accepted
The C shell stores the termination code of the last command in the local shell variable status