65 lines
3.6 KiB
HTML
65 lines
3.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
|
|
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
|
|
<HEAD>
|
|
<TITLE>3.2.8 The directory tree</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value="3.2.8 The directory tree">
|
|
<meta name="keywords" value="gs">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html3066 HREF="node104.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3064 HREF="node95.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3058 HREF="node102.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3068 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3069 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html3067 HREF="node104.html">3.2.9 The current working </A>
|
|
<B>Up:</B> <A NAME=tex2html3065 HREF="node95.html">3.2 Basic UNIX Concepts</A>
|
|
<B> Previous:</B> <A NAME=tex2html3059 HREF="node102.html">3.2.7 Files and directories</A>
|
|
<BR> <HR> <P>
|
|
<H2><A NAME=SECTION00528000000000000000>3.2.8 The directory tree</A></H2>
|
|
<P>
|
|
<A NAME=1932> </A>
|
|
<A NAME=1933> </A>
|
|
<A NAME=1934> </A>
|
|
<A NAME=1935> </A>
|
|
<A NAME=2076> </A>
|
|
<A NAME=1937> </A>
|
|
Most UNIX systems have a standard layout for files, so that system
|
|
resources and programs can be easily located. This layout forms a
|
|
directory tree, which starts at the ``<tt>/</tt>'' directory, also known
|
|
as ``the root directory''. Directly underneath <tt>/</tt> are some important
|
|
subdirectories: <tt>/bin</tt>, <tt>/etc</tt>, <tt>/dev</tt>, and <tt>/usr</tt>,
|
|
among others. These directories in turn contain other directories which
|
|
contain system configuration files, programs, and so on.
|
|
<P>
|
|
<A NAME=1944> </A>
|
|
<A NAME=1945> </A>
|
|
In particular, each user has a <b>home directory</b>, which is the
|
|
directory set aside for that user to store his or her files. In the
|
|
examples above, all of Larry's files (such as <tt>cheat-sheet</tt> and
|
|
<tt>history-final</tt>) were contained in Larry's home directory. Usually,
|
|
user home directories are contained under <tt>/home</tt>, and are named
|
|
for the user who owns that directory. Therefore, Larry's home directory
|
|
is <tt>/home/larry</tt>.
|
|
<P>
|
|
|
|
|
|
In Figure <A HREF="node103.html#dirtree">3.2.8</A> a sample directory tree is represented. It
|
|
should give you some idea of how the directory tree on your system
|
|
is organized.
|
|
<P>
|
|
=1.0pt
|
|
<P><A NAME=2015> </A><A NAME=dirtree> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img101.gif">
|
|
<BR><STRONG>Figure 3.1:</STRONG> A typical (abridged) Unix directory tree.<BR>
|
|
<P>
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html3066 HREF="node104.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3064 HREF="node95.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3058 HREF="node102.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3068 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3069 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html3067 HREF="node104.html">3.2.9 The current working </A>
|
|
<B>Up:</B> <A NAME=tex2html3065 HREF="node95.html">3.2 Basic UNIX Concepts</A>
|
|
<B> Previous:</B> <A NAME=tex2html3059 HREF="node102.html">3.2.7 Files and directories</A>
|
|
<BR> <HR> <P>
|
|
<BR> <HR>
|
|
<P><ADDRESS>
|
|
<I>Matt Welsh <BR>
|
|
mdw@sunsite.unc.edu</I>
|
|
</ADDRESS>
|
|
</BODY>
|