How to set PATH in MAC(Bash)
Because when I try to modify the file record “PATH” of System,I’m not using root account. So I sufered a problem that I can’t override the file-profile. I rember that command sudo maybe work,so I typed:
sudo vi /etc/profile
after typed password, I can modify this file like a root account.It worked!! Good!
Then I added”:/opt/glassfish/bin” after “PATH=’/bin:/sbin:/usr/bin:/usr/sbin’”
发表评论
| Trackback
