The filesystem and navigation
The Linux filesystem is one tree. At the top is the root /, directories branch off it, and files sit inside them. Any file can be named by a path - the route from some place to the file. In this lesson you learn to write paths two ways, make a hidden file, and look at its metadata.
You create your own ~/nav directory as you go. Everything stays in your home directory, nothing system-wide is touched.
What to understand
A path is a file's address in the tree. The system finds the file by it.
An absolute path starts from the root /. It points to the same place no matter where you look from: /home/student/nav.
A relative path starts from the directory you st
Finish this lesson with a free account
This lesson is free once you sign in. Create an account to keep reading and open the lab.
Already have an account? Sign in