Home  Linux   The directo ...

The directory structure of Linux explained

The directory structure of Linux is organized in a hierarchical tree-like format, with the root directory (/) at the base. Each directory serves a specific purpose and contains specific types of files. Here's an overview of the common directories found in a typical Linux file system and their significance, along with some examples:

Root Directory (/)

The root directory is the top-level directory in the Linux file system. All other directories and files are contained within this directory.

/bin

/boot

/dev

/etc

/home

/lib

/media

/mnt

/opt

/proc

/root

/run

/sbin

/srv

/tmp

/usr

/var

Examples of Directory Usage

Published on: Jun 25, 2024, 10:08 AM  
 

Comments

Add your comment