Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Linux Folder Help


ghost's Avatar
0 0

I would like someone to explain all the different folders found in the root directory of linux and explain what they hold.


ghost's Avatar
0 0

/ - the top level of the filesystem /bin - Holds the programs ("binary" files) that make up the commands of the operating system /boot - contains the linux kernel and bootloader /dev - holds special files that represent the devices on the system **/etc **- hold system-wide configuration files for operating system /home - contains a home directory for each user on the system /initrd - used during system start up /lib - contains "libraries" files, shared program code used by the operating system /lib/modules - contains kernel modules such as device drivers. /mnt - contrains temporarily mounted filesystems such as CD/DVD-Roms, etc /opt - sometimes used to store large applications /proc - A simulated folder offering access to kernel infomation /root - the root (administrator on windows) users home directory /sbin - holds essential program files that make up the operating system /tmp - holds temporary files /usr - hold application files /usr/bin - holds program files for applications /usr/etc - holds system wide configuration for applications /usr/include - contains header files for operating system and applications **/usr/lib **- contains "libraries" files, shared program code used by the applications /usr/libexec - contains libraries in alternative formats /usr/local - similar to /usr, for user installed applications /usr/sbin - holds non-essential program files that make up the operating system /usr/share - shared files /usr/share/doc - contains documentaion (help) files for installed programs /usr/share/man - contains the man(ual) pages for installed programs **/usr/src **- source code for programs /usr/src/linux - the source code for the kernel /usr/X11R6 - contains files related to the Graphics subsystem (XFree86 / X11) **/var **- contains dynamic "variable" data such as logs /var/logs - contains log files /var/spool/lpd - the printer queue /var/www - contains the webpages served by apache