An Introduction to Tiger Terminal, Part 4
Subject:   .bash_profile...
Date:   2005-09-18 18:25:56
From:   norburym
Response to: .bash_profile...

1. The .bash_profile might not exist if you haven't been following this series from part one (where we created the file) or if you have not used the terminal before. If it wasn't there when you started, it's nothing to worry about.

2. From the command line, type:
$cd /etc/
You should see a file in there called profile and another file called bashrc. Open profile with nano.
$nano profile
You should see something like this:
# System-wide .profile for sh(1)

export PATH

if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc

The info in this file states the default bash PATH. It then instructs bash to read the /etc/bashrc file. Next, bash reads the following, in order:
If it finds the first file, it will stop. If it doesn't find that one, it will continue on down the list.