First characters of pathname | Relative to... | Example | |
---|---|---|---|
Absolute | / | Root directory | /home/chris/book/chapter/one.odt |
Relative-to-Home | ~ | User's home directory | ~/book/chapter/one.odt |
~ | Home directory of | ~chris/book/chapter/one.odt | |
Relative | (Anything other than / or ~) | Current working directory | chapter/one.odt (Assuming that /home/chris/book is the current directory) |
The special symbols . (same directory) and .. (parent directory) are useful in pathnames. For example, if your current directory is
4.3.1.2. Key directories
Fedora uses a standard set of directories derived from historical conventions, the Linux Standard Base (LSB) project, and the kernel. Table 4-5 outlines the key directories and their purpose.
Table 4-5. Key directories in Fedora Core
Directory | Purpose |
---|---|
Basic binaries (programs) needed to start the system. | |
Files used during the boot process, including the boot menu and kernel. | |
This directory contains | |
System configuration files (sometimes regarded as the 'home directory for the computer'). | |
Users' home directories, for the storage of personal files. | |
Libraries. | |
A directory used to recover files in the event of filesystem damage. Any file that has been disassociated from its name is placed here during filesystem recovery. | |
External media (floppy disks, USB drives, digital cameras, optical disks) that have been mounted. | |
Historical location for mounting storage devices, many of which have now moved to | |
Optional, add-on software. The definition of add-on software is subjective; if you obtain OpenOffice.org directly from the | |
Per-process status information plus system information. |
Вы читаете Fedora Linux