Linux Filesystem Hierarchy
- Get link
- X
- Other Apps
Linux Uses Single Rooted, inverted tree-like file system hierarchy
/ | This is a top level directory It is a parent directory for all other directory It is call ROOT directory It is represented by forward slash C:\ of Windows |
/root | It is home directory for root user (super user) It provides working environment for root user C:\Documents and Settings\Administrator of windows |
/home | It is home directory for other users It provide working environment for other users (other than root user) C:\Documents and Settings\gyantech |
/boot | It contains bootable files for Linux Like Vmlinuz (kernel) ntoskrnl Initrd (INITial RAM Disk) and GRUB (Grand Unifiend Boot Loader) boot.ini, ntldr |
/etc | It contains all configuration files Like /etc/passwd --------- User Info /etc/resolv.conf ----- Preferred DNS /etc/dhcpd.conf ----- DHCP server C:\windows\system32\driers\ of windows |
/usr | By default software's are installed in /usr directory (UNIX Sharable Resources) C:\program files of windows |
/opt | It is optional directory for /usr It contains third party software's C:\program files of windows |
/bin | It contains commands used by all users (Binary files) |
/sbin | It contains commands used by super user (root) super user's binary files) |
/dev | It contains device files Like /dev/hda ------------ for hard disk / dev/cd rom ------- for CD Rom Similar to device manager of Windows |
/proc | It contain process files It contents are not permanent, they keep changing It is also called as Virtual Directory It file contain useful information used by OS Like /proc/meminfo ----- Info of RAM/SWAP /roc/cpuinfo -------- Info of CPU |
/var | It is containing variable data like mails, log files |
/mnt | It is default mount point for any partition It is empty by default |
/media | It contains all removable media like pen drive, CD-ROM, Floppy Disk |
/lib | It contains library files which are used by OS IT is similar to dll files of Windows Library Files in Linux are SO (shared object) files |
- Get link
- X
- Other Apps
Comments
Post a Comment