KDE Neon Linux Terminal Tutorial for Beginners

March 20, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Changing Directory

  1. 3. Changing Folder

    Next practice the Change Directory directive
    Change to the Root Directory:

    cd /

    [Again find out how “cd” is an Abridgement for “Changing Directory“]
    Then Go to /usr/bin:

    cd /usr/bin

    Now to Navigate Back to the Parent use the “..” option.
    So non to Return to the Root of the Directory Tree you may play:

    cd ../..

    (It’s like to say: ‘One Step Back and then One Step Back’ again)
    Finally, to Return Home is simple as:

    cd  

    Then to Verify you are in that Location Use:

    pwd

    [In this case the “pwd” Command is a Shortcut for “Print Working Directory“]
    Hey Congratulations! You achieved the First, Step-by-step Walk into the Linux Directory Tree! :)

  2. Especially relevant, about the Linux Terminology, there are 3 different Entities named as “Root”:

    • The System’s Directory Tree Root: /
    • The root User’s Directory: /root
    • The root User: the SuperAdmin that can Execute Any Command

Tags: , , , , , , , ,

QuickChic Theme • Powered by WordPress