| Article: |
An Introduction to Tiger Terminal, Part 4 | |
| Subject: | .bash_profile... | |
| Date: | 2005-09-18 13:12:55 | |
| From: | werkflow | |
|
I have two differents between this article and my Tiger-Installation:
|
||
Showing messages 1 through 1 of 1.
-
.bash_profile...
2005-09-18 18:25:56 norburym [View]



2. From the command line, type:
$cd /etc/
$ls
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)
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
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:
~/.bash_profile
~/.bash_login
~/.profile
If it finds the first file, it will stop. If it doesn't find that one, it will continue on down the list.