Stuck on cp1 5/10

I cant understand how to use the cp command to change directory and if I do cd it throws back an error

You definitely do not use the cp (copy) command to change directory.

You are probably not giving it a command that it understands. What is the terminal telling you when you try?

1 Like

I’m also stuck here. I’m typing cd - to move back one directory to drama, where it says to go, but it’s not completing the task. I’m not sure what it’s looking for.

Instead of

cd -

you should be using

cd ..
3 Likes

be careful of spacing

“cd …” works
“cd . .” does not work

1 Like

Thank you! This helped a lot. I struggled with this exercise and got it to work because of you. Thank you!

1 Like

Try
cd …drama/historical/drama/

see if that works for you.

Hey guys,

I forgot to say I sorted it, I went to talk to my professor and he showed me.
Thanks for all of your help

Bshayhoe

Thanks for your help caleb26! this one was getting me pretty upset!

So what is the exact code?

1 Like

^^ is the code :slight_smile:

thank you it is work

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.