Directory
Description
/
Root directory that forms the base of the file system. All files and directories are contained logically in the root directory, regardless of their physical locations.
/bin
Contains the executable programs that are part of the Linux operating system. Many Linux commands, such as catcplsmore, and tar, are located in /bin.
/boot
Contains the Linux kernel and other files the LILO and GRUB boot managers need (the kernel and other files can be anywhere, but it is customary to place them in the /boot directory).
/dev
Contains all device files. Linux treats each device as a special file; all such files are located in the device directory /dev.
/etc
Contains most system configuration files and the initialization scripts (in the /etc/rc.d subdirectory)
/home
Conventional location of the home directories of all users. User naba's home directory, for example, is /home/naba.
/lib
Contains library files, including the loadable driver modules, needed to boot the system
/lost+found
Directory for lost files. Every disk partition has a lost+found directory.
/mnt
A directory, typically used to mount devices temporarily, such as floppy disks and disk partitions. Also contains the /mnt/floppy directory for mounting floppy disks and the /mnt/cdrom directory for mounting the CD-ROM drive. (Of course, you can mount the CD-ROM drive on another directory as well.)
/proc
A special directory that contains information about various aspects of the Linux system
/root
The home directory for the root user
/sbin
Contains executable files representing commands typically used for system-administration tasks. Commands such as mounthaltumount, and shutdown reside in the /sbin directory.
/tmp
Temporary directory that any user can use as a scratch directory, meaning that the contents of this directory are considered unimportant and usually are deleted every time the system boots
/usr
Contains the subdirectories for many important programs, such as the X Window System, and the online manual
/var
Contains various system files (such as logs), as well as directories for holding other information, such as files for the Web server and anonymous FTP server

Comments