Computer Services & Repairs
Chicago and Suburbs
 

Table of Contents


 

4.00 Directory Structure

Directory name Files:

/ - The Root of entire file systems

/bin - Binary files

/bin/login # (many environmental variables are set by login program before log on.)

/boot - Kernel and bootstrap loader

/dev - Device drivers for connected hardware

/etc - Configuration files that are used when the computer is started

/etc/inittab # (initialization file that starts your entire system.)

/etc/fstab # (list the file systems that are mounted automatically when the system starts).

/etc/mtab # (list all file systems that are currently mounted and the option they were mounted with.)

/etc/mtab # (show what file systems are mounted and where they are mounted)

/etc/passwd # (username:password:uid:gid:comments:homedir:shell )

/etc/fstab # (actual name of your floppy drive,)

/etc/issue # (determine which version of the operating system is installed)

/home - Directory for each user on the systems

/home/username/.bash_profile # (normally where environmental variables are defined and stored)

/initrd - Red Hat specific – an empty directory used as critical mount point during the boot processing.

/lib - Shared library images

/lost+found - Files lost in the system (Saved during failures)

/mnt - Mount points (directories) for removable media

/opt - Additional packages that can be installed at later date

/proc - Used by Linux for handling processes. Virtual, no space on HD

/proc/meminfo # (system info such as Ram size, swap size etc.)

/root - Home directory for root user

/sbin - Directories reserved for super user

/tmp - Temporary files that are cleaned after reboot

/usr - Files accessible to all users

/usr/bin/passwd # (users stored passwords)

/var - Files whose contents change, such as error logs. Mail queue, the print spooler area, tem downloaded files, image CD before burning etc.



Example: List a directory content

[bash]$ls /

bin dev home lost+found misc net proc sbin srw tmp var

boot etc lib media mnt opt root selinux sys usr

Example: Displays all files in a root directory stack

[bash]$ls -a /

. .autofsck boot etc lib media mnt opt root selinux sys usr

.. bin dev home lost+found misc net proc sbin srv tmp var

<Previous Next>

 
 
   

Copyright 2006 © Burnnet Computers LLC.