Newbie Question -add to the PATH - TechRepublic
General discussion
March 13, 2001 at 03:10 AM
brav0

Newbie Question -add to the PATH

by brav0 . Updated 25 years, 2 months ago

I can’t seem to get anything I add to the PATH to stick. I log in as root and type the following at command line to add a directory called prog:

PATH=$PATH:/usr/local/src/prog
export PATH

This holds for a while (1 day maybe) then it disappears from the path. How can I get it to stay in the PATH??? Thx, MB

This discussion is locked

All Comments