November 1998
Beginner
368 pages
7h 58m
English
Your first step in modifying or adding bash environment variables in your configuration files is to look at the configuration files, which show you the variables that have been defined. As Code Listing 8.5 shows, you do this using more or the editor of your choice.
Remember that configuration files run in a specific order:
1. |
System-wide configuration files (such as /etc/profile) run first upon login.
|
2. |
Configuration files specific to your UNIX account (such as ~/.bash_profile or ~/.profile) run next if they're available..
|
[ejr@hobbes ejr]$ more ~/.bash_profile ~/.profile /etc/bash* ... |
Read now
Unlock full access