Stuck in 6/10 cp II (command line)


#1

I´m doing the exercise 6/10 of The command line and I can't pass the step 4, I did all the steps correctly but I can't advance and there's no a "get code" for this exercise. I want to know what I did wrong or how can I move on and pass to next. Thanks in advance


#2

It looks like when you tried to change to comedy it did not work so nothing after that went through. You tried ../../comedy but according to the results of you last command, you should have just done cd comedy. Make sure you watch the output as you go through the commands.


#3

Thank you so much Alan! it worked.. but I must admit I still don't get when should I write without the ../ and why sometimes I must type two times this: ../../


#4

Let's say you type pwd and it returns:

home/karoona/Documents/example/test

If you want to change to a folder within the same working directory, you would simply:

cd images

Which would take you to the images folder inside test.

You would use ../ to go up one directory such as:

cd ../

Would take you to the example folder.

cd ../../

Would bring you up two directories to the Documents folder.

You can also change directly to another folder in the same way:

cd ../test2

From the original pwd would bring you to the test2 folder inside of example.


#5

6 posts were split to a new topic: Command line - it still doesn't work


#6

A post was merged into an existing topic: Command line - it still doesn't work


#7

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