for pset 4 whodunit, when i do "cp copy.c whodunit.c" it says "cannot stat 'copy.c': No such file or directory"

My directory is cd "/ home / jharvard /Dropbox /pset4"

  • Isn't `copy.c' inside the bmp folder?
    – wallek876
    Jul 26, 2015 at 18:26

2 Answers 2


Execute cd ~/Dropbox/pset4/bmp Then cp copy.c whodunit.c

  • David, it still says "bash: cd: /home/jharvard/Dropbox/pset4/bmp: No such file or directory" are you supposed to put something in a bmp file?
    – Ani
    Jul 27, 2015 at 16:12
  • Do cd ~/Dropbox/pset/ and ls and tell me what you get.
    – i_am_david
    Jul 28, 2015 at 1:04
  • David: It says command not found.
    – Ani
    Jul 29, 2015 at 15:35
  • For which command? also cd ~/Dropbox/pset4/, not Dropbox/pset.
    – i_am_david
    Jul 29, 2015 at 15:50

You need to be in the following directory: /home/jharvard/Dropbox/pset4/bmp I.e. cd /home/jharvard/Dropbox/pset4/bmp

If that still shows file/directory not found for bmp, then you need to follow the 'Getting Started' instructions to download the pset4.zip file & unpacking it on your appliance.

You must log in to answer this question.

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