[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PATH confusion in BASH



Werner Mahr wrote:

Am Sonntag, 14. März 2004 21:10 schrieb Kent West:

statements in my ~/.bash_profile are these:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
   PATH=~/bin:"${PATH}"
fi
which does not have my ~/bin

If you don't have this directory, it is not set. Is in this file any other file sourced, or does any other file source this one? Maybe in that other file PATH is exported.

nor the same path as defined in
/etc/profile. Where is my path being set then?

Look in /etc/enviroment.
westk[@westkent]:/home/westk:> cat /etc/environment

LANG=en_US



Reply to: