Command Line - Pro Interacrive


#1

How do I change directories so that my two directories are above my current directory?

Please help!


#2

Say you are in the directory ‘biopic’ which is in the ‘drama’ directory, which is in the ‘movies’ directory. To change the directory pointer to ‘movies’,

cd ../../

If we wanted to go directly into the ‘action’ directory (from ‘biopic’), also situated in the ‘movies’ directory,

cd ../../action

#3

Thanks but I still don’t really understand what I should write.


#4

What directory are you currently in? Type,

pwd

to show the complete path to the present working directory.


#5

Ok, and the I write cd…/…/?
I’m sorry but I have an hard time understanding.


#6

I’m in this:
/home/ccuser/workspace/my-blog/2015/feb


#7

To change to the ‘my-blog’ directory, type and Enter,

cd ../../

#8

pls someone help me I don’t understand what I shoud write if I want to change directories!:disappointed_relieved:


#10

nevermind I found the problem it works, thank you very much