Common Linux Directories and their purpose

published on Mon Mar 16 2020

Have you looked at the output of ls on your Linux root (/) directory and wondered what all of it was?

Confused

Fret no more. In this article, we’ll go over some of the common folders in Linux and what their intended purpose is.

Before we dig into the list, let’s understand a few things about the Linux filesystem that differs from other filesystems like that on a Windows.

In Linux,

Everything is a file

What this means is that all resources recognized by the operating system is represented as a node in its file tree structure. This also includes things like the currently running processes on the system or the hardware devices connected to the system.

The tree starts with one node known as the root (/) node and everything else is part of the parent-child relationship under it.

Common Folders