home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Book HomeRunning LinuxSearch this book

4.16. Important Directories

You already know about /home, where user files are stored. As a system administrator and programmer, several other directories will be important to you. Here are a few, along with their contents:


The most essential Unix commands, such as ls.


Other commands. The distinction between /bin and /usr/bin is arbitrary; it was a convenient way to split up commands on early Unix systems that had small disks.


Commands used by the superuser for system administration.


Location where the kernel and other files used during booting are sometimes stored.


Files used by subsystems such as networking, NFS, and mail. Typically, these contain tables of network services, disks to mount, and so on.


Administrative files, such as log files, used by various utilities.


Temporary storage for files being printed, sent by UUCP, and so on.


Standard libraries, such as libc.a. When you link a program, the linker always searches here for the libraries specified in -l options.


The X Window System distribution. Contains the libraries used by X clients, as well as fonts, sample resources files, and other important parts of the X package. This directory is usually a symbolic link to /usr/X11R6/lib/X11.


Standard location of include files used in C programs, such as <stdio.h>.


Location of sources to programs built on the system.


Programs and data files that have been added locally by the system administrator.


Sample startup files you can place in home directories for new users.

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.