Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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 have a folder that I want to init with git, but to do that I have to 'navigate' to that folder using cd. The problem is when I write cd Applications, that folder is empty and I cannot go into following folders.

The path I want to access is /Application/MAMP/htdocs.

I am using OS X 10.8.2.

share|improve this question
up vote 6 down vote accepted

If the current directory is ~/, cd Applications goes to ~/Applications/ (which doesn't exist by default, but I guess you have an empty folder there). Try adding a slash to the start: cd /Applications/.

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.