What are standard Linux directories?

Standard Linux directories are part of the Filesystem Hierarchy Standard (FHS) and include the following:

  1. / - Root directory, the top of the filesystem hierarchy.
  2. /bin - Essential user binaries (commands).
  3. /boot - Static files for boot loader.
  4. /dev - Device files.
  5. /etc - Configuration files.
  6. /home - User home directories.
  7. /lib - Essential shared libraries and kernel modules.
  8. /media - Mount point for removable media (e.g., USB drives).
  9. /mnt - Mount point for temporarily mounted filesystems.
  10. /opt - Add-on application software packages.
  11. /proc - Virtual filesystem providing process and kernel information.
  12. /root - Home directory for the root user.
  13. /sbin - System binaries (administrative commands).
  14. /srv - Data for services provided by the system.
  15. /sys - Interface to the kernel.
  16. /tmp - Temporary files.
  17. /usr - User programs and data.
  18. /var - Variable data files, such as logs and databases.

These directories help organize files and provide a standard structure for Linux systems.

0 Comments

no data
Be the first to share your comment!