← Back to list

Understanding the Linux File System: Directories Every User Should Know

One of the first things that confuses new Linux users is the file system.

Sam Writes Security in Linux For Everyone · 2026-03-18 04:30 · 8 claps · 2.3 min read paywalled
#linux #open-source #devops #linux-file-system #sudo
Open on Medium ↗
Wiki topics: GEN · Genomics & Sequencing ☁️ · DevOps & Cloud 🔓 · Open Source 🎬 · Film & Television

Understanding the Linux File System: Directories Every User Should Know

One of the first things that confuses new Linux users is the file system.

Photo by Aubrey Odom on Unsplash

Photo by Aubrey Odom on Unsplash

If you come from Windows, you are used to seeing drives like:

C:\ D:\ E:\

Linux works very differently.

Instead of separate drive letters, everything begins from a single starting point known as the root directory.

From that point, the entire operating system branches into different directories that each serve a specific purpose.

At first it can look overwhelming.

But once you understand the structure, navigating Linux becomes much easier.

The Root of Everything

The entire Linux file system starts with a single directory:

/

This symbol represents the root directory, the highest level of the file system hierarchy.

Everything else on the system exists somewhere under this root.

Every file, folder, and program ultimately traces back to this location.

It’s the foundation of the entire system.

The /home Directory

One of the most familiar directories for everyday users is:

/home

This is where personal user files are stored.

Each user on the system has their own folder inside /home.

For example:

/home/sam /home/admin /home/user1

This is where you will usually keep things like:

documents

downloads

personal projects

Think of /home as the Linux equivalent of a personal workspace.

The /etc Directory

Another important directory is:

/etc

This folder stores system configuration files.

These files control how the system behaves.

Network settings, system services, and many application configurations are stored here.

Because of this, modifying files in /etc usually requires administrative privileges.

For system administrators, this directory is extremely important.

The /var Directory

The /var directory is used for files that constantly change.

Examples include:

system logs

application data

temporary service files

Servers often generate large log files, and many of those logs are stored here.

If you are troubleshooting a problem on a Linux server, /var is often one of the first places to check.

The /usr Directory

The /usr directory contains many of the programs and applications installed on the system.

It includes things like:

system utilities

libraries

user programs

Although the name may sound like it stores user files, it actually contains software resources used by the system.

The /bin Directory

The /bin directory contains essential command-line tools.

These are programs required for the system to function properly.

Many familiar commands live here, including tools used in the terminal every day.

These commands form the backbone of the Linux command line experience.

Why the Linux File System Matters

Understanding the file system helps you do more than just navigate folders.

It helps you understand how Linux itself is organized.

For example:

system configuration lives in /etc

user files live in /home

logs often live in /var

Once you understand this structure, troubleshooting and system administration becomes much easier.

Final Thoughts

The Linux file system might seem unfamiliar at first.

But it follows a clear and logical structure.

Every directory has a purpose.

And once you understand those purposes, the operating system becomes far less mysterious.

Learning the structure of the Linux file system is one of the first real steps toward becoming comfortable with Linux.

Continue Learning

If you're exploring Linux, you may also enjoy:

Linux File Permissions Explained: Understanding chmod and chown

These two topics together form the foundation of working with files in Linux.


메타데이터
post_id
ce398cba7da2
slug
understanding-the-linux-file-system-directories-every-user-should-know-ce398cba7da2
url
https://medium.com/linux-for-everyone/understanding-the-linux-file-system-directories-every-user-should-know-ce398cba7da2
canonical_url
https://medium.com/linux-for-everyone/understanding-the-linux-file-system-directories-every-user-should-know-ce398cba7da2
author_url
https://medium.com/@samwritessecurity
status
ok
fetched_at
2026-06-21 15:33:18