| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Linux Directory Structure The grounding of understanding Linux is the basic knowledge of the directory structure and the major files and directories found on a system. Typical systems may have many of thousands of directories and files; however, the basic organization of where these files and directories are located is relatively standard across most Linux distributions. Linux uses a basic directory structure as shown below: / |-- bin |-- boot |-- dev |-- etc |-- home \-- usersdirectories |-- lib |-- mnt |-- opt |-- proc |-- root |-- sbin |-- tmp |-- usr \-- var The top-level directory / is called the root directory and all other directories and files are located within this directory. In the above example, a trees listings of the root directory are several major directories that will be discussed in this section. To understand how Linux directories and filenames are formed let us compare by remembering how Windows files are referenced (their complete path names). Each file system on a hard disk partition is referred to by a drive letter such as C:\ or D:\ and has a root directory as indicated by the \ character. Additional sub directories and files can be addressed by the form c:\Windows\Program Files where c: indicates the drive, \ indicates the root directory, within the root directory going to the directory Windows and then a sub directory as indicated by the \ character and then going to the directory Program Files.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||