Understanding your UNIX environment

Environment variables are settings in the UNIX system that specify how you, your shell, and the UNIX system interact. When you log into the UNIX system, it sets up your standard environment variables—the shell prompt you want to use, the default search path, and other information to help programs run, among other things. You might think of your environment variables as being similar to having a standing order with a deli to deliver the same thing to you every day. You set up your "standing environment variables" and the UNIX system delivers them to you session after session unless you specify otherwise.

Basically, just like with the lunch deli, you can configure your environment in one of two ways:

  • Changing ...

Get Unix: Visual QuickStart Guide 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.