CHAPTER 5Shells Within Shells
This chapter discusses the relationship between the shell and the programs it calls, with a particular focus on subshells—additional shells run by a shell script in a new process. This chapter also discusses shell context and the distinction between shell variables and environment variables.
Understanding Processes
This chapter relies more heavily than previous chapters on a firm understanding of the UNIX process model. (While Windows does not use this model, UNIX-like shell environments running on Windows tend to emulate it at least some.) UNIX systems can run multiple programs at once. In fact, not only can multiple programs be running at once, but multiple instances of a single program also can be running at ...
Get Beginning Portable Shell Scripting: From Novice to Professional 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.