FAQ: Navigation - cd I

This community-built FAQ covers the “cd I” exercise from the lesson “Navigation”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Web Development
Computer Science

Learn the Command Line

FAQs on the exercise cd I

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

I don’t get why when I type cd .. nothing happens. Why is the return blank? What is the significance of that step?

1 Like

cd means Change Directory, .. is for the parent directory. so on the left hand side, the directory should have changes (you could verify with pwd)

3 Likes

Do I need the forward slash at the end of $cd jan/memory/ ?

It looks like like I’m getting the same result with $cd jan/memory .

Is there a reason why I should use the last forward slash?

Also is anyone else having problems selecting and copying the command line codes from the codecademy terminal?

Thank you.

what does the instruction “Print the working directory again to see the new location.” I literally have no idea what that means, but seem to be progressing through the checkboxes without it.

Do you currently know what the working directory is? You could verify this with a command, that is what the exercise asks

Completely missed the fact that it was referring to the PWD command. DUH!!! Thanks!

1 Like

Hi, how does argument work? I can’t understand what is it’s purpose.

well, cd (change directory) is a program, which can take arguments. In this case, the argument will the directory you wish to visit