Friday, 15 June 2012

Linux Directory Structure

Linux directory structure starts with / (root), files are put in a directory. All directories are in a hierarchical structure (tree structure).  User can put and remove any directories on the tree.  Top directory is “/”, which is called slash or root.


Important Directories

/bin This contains files that are essential for correct operation of the system. These are available for
use by all users.
/mnt Provides a location for mounting devices,such as remote filesystems and removable media
/home This is where user home directories are stored.
 /var This directory is used to store files which change frequently, and must be available to be written to.
/etc Various system configuration files are stored here.
/dev This contains various devices as files, e.g. hard disk, CD­ROM drive, etc.
 /root This is the root (administrator) user's home directory
 /sbin Binaries which are only expected to be used by the super user.
 /tmp Temporary files.
 /boot Has the bootable Linux kernel and boot loader configuration files(GRUB)
 /usr Contains user documentation, games, graphical files, libraries



No comments:

Post a Comment