Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set paths for good

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi
I wonder if some could please tell me how to set PATHs permentelly.
For example everytime i complie something i always have to type in the following PATH=$PATH:/usr/local/lib...etc
How would i set this so it automatically happends.

thanks
 
If you are using csh for your shell, add your paths to your $HOME/.cshrc line that says 'set path = (whatever).

If using bourne or korn shell the path variable is set in the $HOME/.profile

DT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top