Changing Location
-
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! :)- The System’s Directory Tree Root: /
- The root User’s Directory: /root
- The root User: the SuperAdmin that can Execute Any Command
Contents