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

I've added PATH variable definition to my ~/.profile file: Here it is:

export PATH=/usr/bin:/bin:/usr/sbin:/Applications/

# Your previous /Users/mighter/.profile file was backed up as /Users/mighter/.profile.macports-saved_2012-12-24_at_16:42:03

# MacPorts Installer addition on 2012-12-24_at_16:42:03: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

The problem is that every time I launch terminal I have following output:

-bash: :~/Documents/development/adt-bundle-mac/sdk/platform-tools/:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/Applications/ No such file or directory

I'm sure that all dirs exist, and can't get the problem.

share|improve this question
up vote 2 down vote accepted

You have an extra newline in your PATH line.

The PATH definition must be in one line, with each directory separated by a colon (:).

share|improve this answer

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.