Chapter 9. Process Management and Pipes

In this chapter

  • 9.1 Process Creation and Management page 284

  • 9.2 Process Groups page 312

  • 9.3 Basic Interprocess Communication: Pipes and FIFOs page 315

  • 9.4 File Descriptor Management page 320

  • 9.5 Example: Two-Way Pipes in gawk page 337

  • 9.6 Suggested Reading page 341

  • 9.7 Summary page 342

  • Exercises page 344

As we said in Chapter 1, “Introduction,” page 3, if you were to summarize Unix (and thus Linux) in three words, they would have to be “files and processes.” Now that we’ve seen how to work with files and directories, it’s time to look at the rest of the story: processes. In particular, we examine how processes are created and managed, how they interact with open files, and how they can communicate with each other. ...

Get Linux® Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.