Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

RED HAT ENTERPRISE LINUX 6

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.

You might also like