|
4.
|
|
|
In Linux and Unix everything is a file. Directories are files, files are files, and devices are files. Devices are usually referred to as nodes; however, they are still files.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:24(para)
|
|
5.
|
|
|
Linux and Unix file systems are organized in a hierarchical, tree-like structure. The highest level of the file system is the <filename>/</filename> or root directory. All other files and directories exist under the root directory. For example, <filename>/home/jebediah/cheeses.odt</filename> shows the correct full path to the <filename>cheeses.odt</filename> file that exists in the <filename>jebediah</filename> directory, which is under the <filename>home</filename> directory, which in turn is under the root (<filename>/</filename>) directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:25(para)
|
|
6.
|
|
|
Underneath the root (<filename>/</filename>) directory is a set of important directories common to most Linux distributions. The following is a listing of common directories that are directly under the root (<filename>/</filename>) directory:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:26(para)
|
|
7.
|
|
|
<filename>/bin</filename> - important <emphasis>bin</emphasis>ary applications
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:29(para)
|
|
8.
|
|
|
<filename>/boot</filename> - <emphasis>boot</emphasis> configuration files, kernels, and other files needed at <emphasis>boot</emphasis> time
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:32(para)
|
|
9.
|
|
|
<filename>/dev</filename> - the <emphasis>dev</emphasis>ice files
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:35(para)
|
|
10.
|
|
|
<filename>/etc</filename> - configuration files, startup scripts, <emphasis>etc</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:38(para)
|
|
11.
|
|
|
<filename>/home</filename> - <emphasis>home</emphasis> directories for different users
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:41(para)
|
|
12.
|
|
|
<filename>/initrd</filename> - used when creating a customized <emphasis>initrd</emphasis> boot process
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:46(para)
|
|
13.
|
|
|
<filename>/lib</filename> - system <emphasis>lib</emphasis>raries
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/linux-basics.xml:49(para)
|