I am trying to begin pset 1. I followed the instructions in the pset. After saving the file hello.txt, i execute the commands to open the file in the terminal by typing cd dropbox/pset1. I get the message "no such file or directory.

What am I doing wrong?

2 Answers 2


You have to create a folder named pset1 under ~/Dropbox/ (if you haven't already created it) before you navigate to it.

Make sure Dropbox is configured correctly per the instructions!

To create a folder named pset1 under ~/Dropbox/, do the following

The Terminal Way

Open up the terminal and execute these commands

cd Dropbox
mkdir pset1
cd pset1

Now you should be within ~/Dropbox/pset1

File and folder names are case sensitive. That is, dropbox (with lowercase 'd') is not the same as Dropbox (with uppercase 'D').

The Graphical Way

  1. Double click Home on your desktop. enter image description here
  2. Double click Dropbox. enter image description here
  3. Right click and choose New Folder enter image description here
  4. Name your folder pset1 and hit Enter from your keyboard. enter image description here
  • Actually, the pset's instructions first tell you to create hello.txt. And by that stage in the directions, they have already created the directories, etc. The issue is the case sensitivity on the directory name.
    – curiouskiwi
    Commented Jun 24, 2014 at 4:19
  • @curiouskiwi thank you, Brenda! I totally forgot about this. Edited!
    – kzidane
    Commented Jun 24, 2014 at 23:19

You wrote:

by typing cd dropbox/pset1. I get the message "no such file or directory.

Pay close attention to the instructions:


cd Dropbox/pset1 or even

cd ~/Dropbox/pset1 followed by Enter to change your directory to ~/Dropbox/pset1 (ergo, cd). You should find that your prompt changes to

jharvard@appliance (~/Dropbox/pset1):

You have typed dropbox/pset1 when you need Dropbox/pset1

The filenames and directories are case-sensitive. It's little details like that that can trip you up at the beginning. :)


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .