Open a folder using the terminal

lauraberth Posted messages 70 Status Member -  
Illoxx Posted messages 236 Status Member -
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 answers

  1. jivef Posted messages 1024 Status Member 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