This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Mac OS and the fly likes setting PATH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "setting PATH" Watch "setting PATH" New topic
Author

setting PATH

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
hi all

i know that to set PATH i can do :

export PATH=mypath/path/path > ~/.bash_profile


but it doesn't seems to be permanent..... how can i make it permanent such that everytime i log into terminal the path will there....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60077
    
  65

If you have placed the export command in your .bash_profile correctly, it will get executed every time that you log in.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: setting PATH
 
Similar Threads
Setting System Class Path
Path setting in Linux
problem installing Netbean
cookie.getMaxage() question
WA #1.....word association