Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Typing export $PATH in Mountain Lion's Terminal returns


However, my /etc/paths file shows:


Is this a problem?

share|improve this question
/usr/local/bin found twice?? – Weishi Zeng May 26 at 22:55
up vote 4 down vote accepted

It's perfectly OK.

As you log in, your PATH is constructed from several different sources. Some are system wide, others are user specific: the .profile file in your home folder, for example, is a common way for adding paths to your PATH for your account only.

You can see that the paths from /etc/paths are still there, in the middle of your PATH but some stuff has been added. /usr/local/MacGPG2/bin for example has been added by macGPG2 when you installed it.

share|improve this answer
what's the order of loading those PATH? – Weishi Zeng May 26 at 22:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.