[SunHELP] Setting PATH in Sun Solaris 8

Mike's List sunhelp at sunhelp.org
Mon Oct 15 12:05:27 CDT 2001


On Fri, 12 Oct 2001, shivraj wrote:

> Hi,
> 
> I am trying to modify the PATH in
> .profile and path in .cshrc files
> to include some directories as a user.
> 
> It does not seem to pick up the new
> values when I echo the PATH (or path).
> 
> Where am I going wrong ? Do I need to 
> logout & relogin ? This should not matter
> if I start a new session ?

Depends, if you're within CDE or just shell, etc. once you edit your
.profile or .cshrc just do . ./.profile (or . ./.cshrc) to re-read the
file and echo $PATH.  Make sure you are the user editing your own .profile
and .cshrc and not root editing the global settings.


- Mike




More information about the SunHELP mailing list