Command Line Manipulation exercises cp Part ii

Command Line, Exercises 6/10 cp part ii
Hi everyone, this is the first time I open a topic here in the forum. I state that I do not know English very well and I often use the Google translator that it is not perfect either. I have been stuck in this exercise for a while and I can not understand if I am the one who is writing wrong, I did not understand the exercise or it is a bug

$ pwd
/home/ccuser/workspace/movies
$ cd drama/biopic
$ ls
cleopatra.txt  frida.txt  lincoln.txt  notorious.txt  ray.txt
$ pwd
/home/ccuser/workspace/movies/drama/biopic
$ cp notorious.txt  ray.txt /home/ccuser/workspace/movies/drama/historical
$ 
$ cd ..
$ cd historical
$ pwd
/home/ccuser/workspace/movies/drama/historical
$ ls
gladiator.txt  notorious.txt  ray.txt  selma.txt
$ 

Hello, and welcome to the forums!

I think the problem is that the exercise doesn’t want you to use cd to change directories. Instead, you should complete the tasks from the same directory you started in by using the paths.

You will use each of these commands one time: pwd, cp, and ls

If you open the hint under each of the tasks, you’ll see the paths that they want you to use.

I hope what I wrote translates well. If something I wrote isn’t clear or you need more help, please post again and we’ll be happy to help.

2 Likes

Hi, thanks for your answer you were very clear. Problem solved thanks again.

2 Likes