Tuesday, March 1, 2011

.profile does not exist. Setting path var mac os

 - open a terminal console
- go to your User home:
cd /Users/<MyUser>
- create .profile file
touch .profile 
- open .profile file
open .profile
add the export sentence that you need, i.e.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH




No comments: