The File System Tree
How Linux stores files.
Everything on a Linux computer lives in one big tree of folders. Your documents, your programs, even your settings. Once you understand the shape of this tree, the rest of Linux makes a lot more sense.

- One big tree of folders
- Documents, programs, settings
- Learn its shape first
One root for everything
The tree starts at a single folder, called the root, and written as a forward slash. Every other folder sits inside it. There are no drive letters like C colon, like on Windows. Even a USB stick appears as a folder somewhere in the tree. On Linux, folders are often called directories. The two words mean the same thing.
Looking at the root
Let's look at the top of the tree. LS lists what's inside a folder. LS slash shows the folders inside the root. It looks a bit strange at first, but each folder has a job. Let's meet the important ones.
ls / bin dev lib mnt root sbin.usr-is-merged tmp bin.usr-is-merged etc lib.usr-is-merged opt run srv usr boot home media proc sbin sys var
The important folders
Home holds a personal folder for each user. That's where your own files go. ETC holds settings for the whole system. Bin and user bin hold programs, like LS itself. Var holds files that change, such as logs. And TMP is for temporary files, that can be deleted at any time.
| Folder | What lives there |
|---|---|
| /home | each user's personal folder |
| /etc | system settings |
| /bin, /usr/bin | programs, like ls |
| /var | changing files, like logs |
| /tmp | temporary files |
Summary
Linux has one tree of folders, starting at the root, slash. Your own files live in slash home. Next, how to find out where you are in the tree.
Key takeaways- One tree, starting at /
- /home for your files
- /etc for settings