Open a folder using the terminal

lauraberth Posted messages 70 Status Membre -  
Illoxx Posted messages 236 Status Membre -
Hello,

I just read somewhere that you can open a folder directly with the terminal. However, after several searches and attempts, I still can't open any folder.

Can you help me?

Thank you in advance

Configuration: Linux / Firefox 31.0

3 réponses

jivef Posted messages 1024 Status Membre 306
 
Hello,
To open a folder, we can see that you are used to working with the graphical interface.

Actually, you mean to go into a folder.

cd /path/to/folder will take you into the folder
cd .. goes up to the parent folder
cd / goes up to the root, but a basic user won't be able to do much there.

cd ~ will take you to your default folder, usually /home/user

cd - takes you to the folder you were in before changing.

cd . does nothing.

Create a folder:
mkdir folder
delete a folder (empty)
mkdir folder.

Know exactly where you are in the directory tree:
pwd

See you soon.
9