How do you Navigate up one directory from drama/historical/ to drama/. please? Thanks you all
Here what I tried so far:
First trial cd drama/historical/drama/ then second trial:cd drama/historical/cd drama/ and finally, I have also tried cd drama/historical/ to drama/. All of these trials without success
You should use cd ..
to move one folder up. If you want to navigate to drama/
using full path, then you have to write cd /home/worspace/...
. Use pwd
to see the full path if you want to use it.
I tried but still does not work cd /home/worspace/drama/historical/ to drama/
What I should put after …
the bullet points?
Ok, navigate to historical/
and use pwd
(print working directory) there. It will give you full path of your folder. Then just try to go back with either cd ..
or full path pwd
gave you (without the historical/
of course).
And after ...
goes path that Codecademy gives you, but I’m not sure if it’s same or unique for everyone so I excluded it. Just used pwd
to see the path you have. and try the methods I described here. If it doesn’t work, we’ll take another look into it and solve it.
first you looked at the new cleopatra file so you’re in the historical section, then the only thing you do is: “cd …” that worked for me.