Click to See Complete Forum and Search --> : editing profile


mstembri3
02-25-2001, 08:29 PM
I used vi to insert a path in the $PATH variable. That went smoothly enough - checked to make sure the changes were saved by opening profile in vi again - yep, /sbin still there. I quit vi and typed echo $PATH.

What is showing on the screen is not the same as what's in profile. /sbin is not in the $PATH string (though it is in the profile file).

Thought I understood what to do - now I'm lost again.

EscapeCharacter
02-25-2001, 08:45 PM
did you logout then back in? profile environment variables get loaded only when you log in so if you change them you have to logout to enable any changes you made.