Linux directory structure explain.

761    Asked by AkanshaChawla in Devops , Asked on Jan 11, 2020
Answered by Ankur vaish

The directory structure in linux is a bit different from what is used in Windows or any other OS. The main difference is the path is mentioned with forward “/” slash instead of backward as in windows.

 / The Root directory - The main drive is denoted as “/” in comparison to “C:/” drive in windows and is known as Root directory. The other partition is mentioned inside / directory.

/bin Essential User Binaries- Contains special binary files that are used & essential to run the system.

/boot - Contains files used for booting Linux OS like GRUB boot loader’s files and Linux kernels files.

/dev - Contains device based files.

/etc - Contains system wide configuration files.

/home - home directory for root user and contains related files.


Your Answer

Interviews

Parent Categories