Linux Directories
Cybersecurity Linux Lesson 1.1.1
/boot (boot)
- The /boot (read as root, boot) directory contains all the files required for the system’s boot process
- The /proc directory contains information about processes, hardware configuration, and kernel parameters
- The /sys directory holds information about the kernel parameters and device attributed
- The /var directory contains all the files that change while the system is being used
- The /usr directory contains data and resources about system users
- The /lib directory contains libraries for the system typically needed for the early stages of the boot process
- The /dev directory contains device files that provide access to hardware devices on the system
- The /etc directory contains configuration files and shell scripts for the system
- The /opt directory holds optional/add-on software packages
- The /bin directory contains the essential executable files for the system to function
- The /sbin directory is reserved for system administrators and contained essential system binaries
- The /home directory is where system users home directories are located
- The /root directory is the home directory for the superuser/root account
- The /media directory is used as a mount point for removable media devices such as USB drives, external hard drives, optical discs, etc.
/mnt (mount point)
- The /mnt directory is a general-purpose mount point used for temporarily mounting filesystems or devices
- The /tmp directory is a location for storing temporary files and directories
- May be deleted by the system during reboots or to free up disk space