Filesystem Hierarchy Standard (FHS) → http://www.pathname.com/fhs/
tecmint.com → Linux Directory Structure and Important Files Paths Explained
edx.org → LinuxFoundationX: LFS101x.2 Introduction to Linux » Chapter 03 → Section 1: Linux Filesystem Basics
blackmoreops.com → Linux file system hierarchy
All Linux filesystem names are case-sensitive, so
/BOOTrepresent three different directories (or folders).
On a UNIX system, everything is a file; if something is not a file, it is a process.
/bin/ : All the executable binary programs (files) required during booting, repairing, files required to run into single-user-mode, and other important basic commands
<br/> /boot/ : Holds important files during boot-up process, including Linux Kernel.
<br/> /dev/ : A pseudo file-system that contains device files for all the hardware devices on the machine.
<br/> /etc/ : Contains Application’s configuration files, startup, shutdown, start, stop script for every individual program.
<br/> /home/ : Home directory of the users. Every time a new user is created, a directory in the name of user is created within home directory which contains other directories like Desktop, Downloads, Documents, etc..
<br/> /lib/ : The Lib directory contains kernel modules and shared library images required to boot the system and run commands in root file system.
: Removable Media Drives and Removable Devices are often mounted as a tremporary directory undrer
</tt><br/>e.g. a Floppy Disk labeled
</tt> might end up being found at
</tt> ... thus a file
</tt> on that disk would be at
<br/> /mnt/ : Temporary mount directory for mounting a file system.
<br/> /opt/ : Optional is abbreviated as opt. Contains third party application software.<br/>e.g. ... Java, etc..
: This pseudo filesystem contains files and directories that mimic kernel structures and configuration information -- including running process with a particular Process-id (a.k.a.
: This is the home directory of root user -- and should never be confused with
<br/> /sbin/ : Contains binary executable programs, required by System Administrator, for Maintenance.<br/>e.g. ... iptables, fdisk, ifconfig, swapon, reboot, etc.
: Service is abbreviated as
</tt>. This directory contains server specific and service related files.
: Modern Linux distributions include a
</tt> directory as a virtual filesystem -- which stores and allows modification of the devices connected to the system.
<br/> /tmp/ : System’s Temporary Directory, Accessible by users and root. Stores temporary files for user and system, till next boot.
: Contains executable binaries, documentation, source code, libraries for second level program. ... Many distributions distinguish between core utilities needed for proper system operation and other programs. These "other" second level programs are then placed in directories under
</tt> (think "user").
<br/> /var/ : Stands for variable. The contents of this file is expected to grow. This directory contains log, lock, spool, mail and temp files.