The document describes the directory structure and file hierarchy of Red Hat Enterprise Linux 6. The root directory (/) sits at the top of the hierarchy and contains subdirectories for essential system files and programs like /bin, /usr/bin, /sbin, /usr/sbin, /etc, and directories for user files and data like /home, /var/log, and temporary files in /tmp. Key subdirectories and their purposes are outlined such as /boot for boot files, /proc for system information, /dev for devices, and /usr for executable programs.
The document describes the directory structure and file hierarchy of Red Hat Enterprise Linux 6. The root directory (/) sits at the top of the hierarchy and contains subdirectories for essential system files and programs like /bin, /usr/bin, /sbin, /usr/sbin, /etc, and directories for user files and data like /home, /var/log, and temporary files in /tmp. Key subdirectories and their purposes are outlined such as /boot for boot files, /proc for system information, /dev for devices, and /usr for executable programs.
The document describes the directory structure and file hierarchy of Red Hat Enterprise Linux 6. The root directory (/) sits at the top of the hierarchy and contains subdirectories for essential system files and programs like /bin, /usr/bin, /sbin, /usr/sbin, /etc, and directories for user files and data like /home, /var/log, and temporary files in /tmp. Key subdirectories and their purposes are outlined such as /boot for boot files, /proc for system information, /dev for devices, and /usr for executable programs.
File System Hierarchy or Directory Structure in RHEL 6.
In the Linux operating system, every file, directory, and device is one part of a grand hierarchy. The topmost member of this hierarchy is the root directory, and it is denoted by the symbol /(slash)
/ / /usr /var / /mnt /tmp
Top Level Directories
Directory Descriptions 1. /(root) It is primary hierarchy and root directory of the entire file system hierarchy. 2./bin & /usr/bin Contains program available to all users. 3. /sbin & /usr/sbin Contain programs meant to be used by system administrators. 4. /var/log Contain the log files made by various applications. The log files are invaluable in keeping track of applications activities and errors. 5. /home Contains all the personal directories of the users of the system. 6. /boot Contains the files needed by the operating system to load itself into memory 7. /etc Contains the system configuration files used by various applications 8. /media, /misc Contains the mount points for any removable devices in the system (such as CD- & /mnt ROMs, floppy disks, and the usbdisk drives). 9. /proc Contains the system state information. The information in the files of this directory is maintained directly by the operating system kernel 10. /dev Contains file system entries which represent devices that are attached to the system to function properly. 11. /var Contains all log files, mail and errors file (variable) of all users in the system. 12. /usr Contains source codes of operating system means execute program for every Command and current application. 13. /lib Contains all library file and it is essential for the binaries in /bin and /sbin. 14. /opt Contains optional application software packages. 15. /srv Contains all device drivers. 16. /tmp Contains temporary file and deleted file. 17. /root Home directory of root user. 18. /sys Contains system files. 29. /selinux Contains all security files to prevent from virus and hacking.