3. Linux Default Directory Structure
3. Linux Default Directory Structure
com
notes
/boot: It includes the static kernel ,bootloader configuration and executable files
needed to start a Linux computer.
/dev: It includes the device file for all hardware devices connected to the system.
/etc: It includes the local system configuration files for the host system.
/lib: It includes shared library files that are needed to start the system.
/home: The home directory storage is available for user files. All users have a subdirectory
inside /home
/mnt: It is a temporary mount point for basic filesystems that can be used at the
time when the administrator is working or repairing a filesystem.
/media: A place for mounting external removable media devices like USB thumb
drives that might be linked to the host.
/opt: It contains optional files like vendor supplied application programs that must be
placed here
/root: It's the home directory for a root user. Keep in mind that it's not the '/' (root)
file system.
Author: Abhiram |DevOps Notes | [email protected]
/tmp: It is a temporary directory used by the OS and several programs for storing
temporary files. Also, users may temporarily store files here. Remember that files may be
removed without prior notice at any time in this directory.
/sbin: These are system binary files. They are executables utilized for system
administration.
/usr: They are read-only and shareable files, including executable libraries and binaries,
man files, and several documentation types
/var: Here, variable data files are saved. It can contain things such as MySQL, log files,
other database files, email inboxes, web server data files, and much more.