⌨️Root Directory (/)
Also known as Root Folder, Filesystem Root, Slash Directory
The top folder on Linux, written as /. All other folders sit in it.
Think of it like
Think of it like the trunk of a tree. Every branch and leaf grows out from it.
Example
Lucy types cd / and then ls. She sees the main folders, like home, etc and var, all inside the root.
Why it matters
Every path on a server starts here. Read a path from the left, from the root down.
Definition
Example code
console
$ cd /
$ pwd
/Common mistake
Key takeaways
- 1One slash. The root is written /.
- 2Top of the tree. Every folder sits below it.
- 3No drive letters. Other disks join the same tree.