1835894 Members
3511 Online
110086 Solutions
New Discussion

Re: /etc/PATH

 
SOLVED
Go to solution
Jun Zhang_4
Regular Advisor

/etc/PATH

Where is this and /etc/MANPATH sourced from?
After added new paths to them, I did
. /.profile
and the new paths are not updated. I have to logout and log back in for the modification to take effect.

Jun
Food lover
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: /etc/PATH

Those are sourced from /etc/profile.

/etc/profile is sourced first and then the user's own .profile is sourced.

Sridhar Bhaskarla
Honored Contributor

Re: /etc/PATH

Hi Jun,

/etc/MANPATH is set from /etc/profile or /etc/csh.login depending on the shell you use. Look at /etc/profile and search for MANPATH. Since /etc/profile is executed when you login, running .profile won't get them into effect.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jun Zhang_4
Regular Advisor

Re: /etc/PATH

When submit points to both of you, I got page not found screen, and I'm still getting it. I know this is temporary problem, but did you receive points?


Jun
Food lover