No such file/directory


#1



Hi everyone!

Having some issues with this lesson (command Line). Every time I type "cd ../drama/biopic/" I get an error saying "No such file or directory". I've put in the whole file path, too - only to get the same message. However if I type "../drama/biopic/" It tells me it is a directory.

Any clues?
Thanks


#2

ls
action  comedy  drama  genres.txt
cd drama/biopic

Start with pwd to see what directory you are currently in, or ls to see what contents are present in the current directory. That will give you some idea which way to navigate.

../ takes us UP one level, so if we were in the action directory, ../drama/biopic would work..


#3

Thank you!!
That fixed it! :slight_smile:


#4

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