• Post Reply Bookmark Topic Watch Topic
  • New Topic

setting PATH

 
bryan lim
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65520
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have placed the export command in your .bash_profile correctly, it will get executed every time that you log in.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!