Command results in "No such file or directory" can't proceed


<Below this line, add a link to the EXACT exercise that you are asking about.>

<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
bash: cd: …/…comedy: No such file or directory

<Below this line, add a screenshot of your whole web browser so that we can see what you see.>

check your command carefully

Oops yes, re-typed. Still same issue.
See screenshot.

If you get that error message then first of all you should check the directory where you are now.(command pwd)

now consider should it work?

Am I in the wrong directory? Please see attached.
Which directory should I be in, and what’s the exact command to get to the proper directory?

you are in movies so now if you command like

cd ../

then you’ll go to workspace (parent directory).
and if you command like

cd ../../

then you’ll go to ccuser(parent directory/parent directory).now here you are trying to search comedy directory.

see you file tree structure

you can be’s not the problem.but your command should be according to your position.
so you are in movies and you want to go to comedy.then simply your command should be

cd comedy

suppose you are in drama and now you want to go to comedy.then your command should be

cd ../comedy

First you have to go to parent directory that is movies and then you can go to comedy.

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