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:

Computer Science
Web Development
Build a Website with HTML, CSS, and Github Pages
Create a Front-End App with React

Learn the Command Line

FAQs on the exercise cd I

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

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

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in #get-help.

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

Need broader help or resources? Head to #get-help and #community:tips-and-resources. If you are wanting feedback or inspiration for a project, check out #project.

Looking for motivation to keep learning? Join our wider discussions in #community

Learn more about how to use this guide.

Found a bug? Report it online, or post in #community:Codecademy-Bug-Reporting

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!

Interesting and very helpful lesson! One thing though, in the third exercise in this lesson, you have to input 3 commands. Of course, you can’t do that at once, so you get a red cross for the first two commands and then get a green checkmark when you complete your third. This can be a bit confusing

6 Likes

you are very right, I am stuck a little while and i saw your comment and tried it . Now it passed through lol. Thanks

1 Like


it is annyoying pls heelp me!!!1

2 Likes

So how did you solve it out?I am a bit stuck as well
pwd cd jan pwd cd memory
this is where i am stuck . the thrid code . any ideas ?

1 Like

@board1204397873 @net6886689532

cd only takes one argument, the file name. Do pwd and press enter. Then you’ll see where you are, you can also do ls to see if there actually is a file or folder named memory or jan, then you simple have to navigate to that folder/file

And what it’s asking you to do, is move to the jan folder (so cd jan) and then move to the memory folder, so cd memory

hello, I am so sorry and I don’t remember well anymore all steps ( i have a short memory). I was moving on now a bit forward. I tried to find this project in my Syllabus and I cannot find it anymore ( strange). What I remember is I did double codes. Could you pls send me a screenshot of the project and then I can quickly answer you all codes.

This is the question

1 Like

I got pretty stuck on this. The problem was it kept on saying what i was entering was incorrect until I finished the whole path.

The solution:

  1. print the working directory to find out where you are (pwd) - it will say /home/ccuser/workspace/blog.
  2. use the change directory to navigate into the 2015 folder ($ cd 2015) - which you’ve probably done in the previous step.
  3. check where you are again by using (pwd) - it will print /home/ccuser/workspace/blog/2015.
  4. use the (cd) to navigate to the jan folder ($ cd jan)
  5. use the (pwd) to check where you are in the directorty - it will print /home/ccuser/workspace/blog/2015/jan.
  6. use (cd) to navigate to the memory folder ($ cd memory)
  7. lastly, use the (pwd) to check you are in the memory folder - /home/ccuser/workspace/blog/2015/jan/memory

You will be able to go onto the next step. I hope this is clear and helps.

6 Likes

Thank you. Problem solved

1 Like


hello

here are 3 screen shots i did in these tutorials. Jan/memory one is not the real tutorial and the one below is the tutorial.

1 Like

Thanks
i managed to do it myself with help from the forum page.

Omg… thank u so muchhh!! Thanks for ur efforts

thank you Your instruction helped me alot!

I understand
I am used to a prompt coming out from a different program when it goes through or it coming with a fail
You have to look at it carefuly, and prompt yourself!
Thanks for the explanation
I am going to to practice it a couple more times before going onto the next!