Can't change directories in terminal
I am trying to make a hello world program work on my Mac. Every time I go to change a directory I get a message that says:
-bash: cd: documents No such file or directory exists.I know the documents directory is there.
cd Documents
-bash: cd: documents: No such file or directory 2 1 Answer
You're likely not starting from the correct directory. Try cd ~/Documents or cd /Users/(Your Username here)/Documents.
Also note that, depending on formatting of the disk, your filesystem may be Case Sensitive, meaning documents and Documents are two completely different locations.
2