Operating System - HP-UX
1836459 Members
2530 Online
110101 Solutions
New Discussion

Which files affect the $PATH environment variable in ksh?

 
SOLVED
Go to solution
MA Qiang
Regular Advisor

Which files affect the $PATH environment variable in ksh?

/etc/profile
~/.profile

Any others?


5 REPLIES 5
Joseph Loo
Honored Contributor

Re: Which files affect the $PATH environment variable in ksh?

hi,

these files r to permanently set it to the profile.

/etc/profile - all users
~/.profile - individual user

regards.
what you do not see does not mean you should not believe
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Which files affect the $PATH environment variable in ksh?

Hi,

/etc/MANPATH
/etc/PATH
/etc/SHLIB_PATH

Regards,
Robert-Jan
MA Qiang
Regular Advisor

Re: Which files affect the $PATH environment variable in ksh?

/etc/PATH
T G Manikandan
Honored Contributor

Re: Which files affect the $PATH environment variable in ksh?

/etc/PATH
/etc/profile
$HOME/.profile
MA Qiang
Regular Advisor

Re: Which files affect the $PATH environment variable in ksh?

Thanks.