11. Your Environment
In This Chapter
When you log on to the system, you’re effectively given your own copy of the shell program. This shell maintains what’s known as your environment—an environment that is distinct from other users on the system. This environment is maintained from the moment you log on until the moment you log off. In this chapter you’ll learn about this environment in detail, and you’ll see how it relates to writing and running programs.
Local Variables
Type the following program called vartest
into your computer:
$ cat vartest ...
Get Unix Shell Programming, Third Edition 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.