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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to export settings 1

Status
Not open for further replies.

PRB

Programmer
Mar 5, 2001
1
GB
Using a terminal window I add a directory to the path in a Bourne shell. This works for that window. I then use the export command to attempt to make the path change permanently. This has no effect! Subsequent instances of teminal windows still show the old path.
This used to work. Any ideas what has gone wrong?

Phil
 
export itself will only affect the current hell and it's decendants. You need to make the change to the PATH in $HOME/.profile (or /etc/profile) to make it active every time you log in.

I want to be good, is that not enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top