October 2001
Intermediate to advanced
1040 pages
22h 50m
English
Before the C shell displays a prompt, it is preceded by a number of processes. See Figure 9.1.

After the system boots, the first process to run is called init; it is assigned process identification number (PID) 1. It gets instructions from a file called inittab (System V) or spawns a getty process (BSD). These processes are responsible for opening up the terminal ports, for providing a place where input comes from (stdin), where standard output (stdout) and error (stderr) go, and for putting a login prompt on your screen. The /bin/login program is then executed. ...