Understanding the CentOS 7 filesystem hierarchy

We can compare a filesystem to a refrigerator, or any other storage with multiple shelves that is used for storing different items. These shelves or compartments help us to organize grocery items in our refrigerator by certain characteristics, such as shape, size, type, and so on. The same analogy is applicable to a filesystem, which is the epitome of storing and organizing collections of data and files in human-usable form.

A filesystem is organized in an inverted root tree design with / (a forward slash; pronounced root) as the root of the filesystem, and underneath /, we see the rest of the directories and subdirectories, as shown in the following diagram:

Important filesystem directories ...

Get CentOS Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.