Lesson 24: A Shell of a Descriptor

Outline:

  1. Shells and fork, revisited
  2. File descriptors
  3. Caution: avoid “fork bombs”
  4. Lab 7: getting started with processes—let’s explore some samples for Assignment #7

Reading assignment (to be completed by the next class):

  • Manual pages (e.g., type man <cmd>, replacing <cmd>, in a terminal) for:
    • fork
    • wait
    • execlp
    • execvp
    • signal
  • Bryant & O’Halloran Sec. 8.4 (p. 738–756) – read this again if it is no longer fresh; it’s handy for your assignment!