Linux Directory Structure
Linux Directory Structure
Have you wondered why certain programs are located under /bin, or /sbin, or
/usr/bin, or /usr/sbin?
For example, less command is located under /usr/bin directory. Why not /bin, or
/sbin, or /usr/sbin? What is the different between all these directories?
In this article, let us review the Linux filesystem structures and understand the
meaning of individual high-level directories.
1. / Root
Every single file and directory starts from the root directory.
Only root user has write privilege under this directory.
Please note that /root is root users home directory, which is not same as /.