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

adding to PATH



Hi all:

I'm having a problem adding to a system-wide PATH variable... I've
added the following in /etc/profile:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/local/java/bin"

However, "echo $PATH" produces:

./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/bin

My ~/.bashrc and ~/bash_profile do not contain anything to do with
PATH variable. SO where is the system-wide PATH specified?

Also, how do I dynamically add to the PATH variable in bash?

Thanks!

-- 
Arcady Genkin
"I opened up my wallet, and it's full of blood..." - GsYDE


Reply to: