manual page distributed with 4.1BSD
[unix-history] / usr / src / share / man / man7 / hier.7
CommitLineData
2b83cc31
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)hier.7 4.1 (Berkeley) %G%
6.\"
7.TH HIER 7
8.UC 4
9.SH NAME
10hier \- file system hierarchy
11.SH DESCRIPTION
12The following outline gives a quick tour through
13a representative directory hierarchy.
14.na
15.nh
16.IP /
17root
18.PD 0
19.IP /vmunix
20the kernel binary (UNIX itself)
21.IP /lost+found
22directory for connecting detached files for
23.IR fsck (5)
24.IP /dev/
25devices (4)
26.RS
27.IP console
28main console,
29.IR tty (4)
30.IP tty*
31terminals,
32.IR tty (4)
33.IP rp*
34disks,
35.IR hp (4)
36.IP rrp*
37raw disks,
38.IR hp (4)
39.IP up*
40UNIBUS disks
41.IR up (4)
42.IP ...
43.RE
44.IP /bin/
45utility programs, cf /usr/bin/ (1)
46.RS
47.IP as
48assembler
49.IP cc
50C compiler executive,
51cf /lib/ccom, /lib/cpp, /lib/c2
52.IP csh
53C shell
54.IP ...
55.RE
56.IP /lib/
57object libraries and other stuff, cf /usr/lib/
58.RS
59.IP libc.a
60system calls, standard I/O, etc. (2,3,3S)
61.IP ...
62.IP ccom
63C compiler proper
64.IP cpp
65C preprocessor
66.IP c2
67C code improver
68.IP ...
69.RE
70.IP /etc/
71essential data and maintenance utilities;
72sect (8)
73.RS
74.IP dump
75dump program
76.IR dump (8)
77.IP passwd
78password file,
79.IR passwd (5)
80.IP group
81group file,
82.IR group (5)
83.IP motd
84message of the day,
85.IR login (1)
86.IP termcap
87description of terminal capabilities,
88.IR termcap (5)
89.IP ttytype
90table of what kind of terminal is on each port,
91.IR ttytype (5)
92.IP mtab
93mounted file table,
94.IR mtab (5)
95.IP dumpdates
96dump history,
97.IR dump (8)
98.IP fstab
99file system configurtion table
100.IR fstab (5)
101.IP ttys
102properties of terminals,
103.IR ttys (5)
104.IP getty
105part of
106.IR login ,
107.IR getty (8)
108.IP init
109the parent of all processes,
110.IR init.vm (8)
111.IP rc
112shell program to bring the system up
113.IP cron
114the clock daemon,
115.IR cron (8)
116.IP mount
117.IR mount (8)
118.IP wall
119.IR wall (8)
120.IP ...
121.RE
122.IP /tmp/
123temporary files, usually on a fast device, cf /usr/tmp/
124.RS
125.IP e*
126used by
127.IR ed (1)
128.IP ctm*
129used by
130.IR cc (1)
131.IP ...
132.RE
133.IP /usr/
134general-pupose directory, usually a mounted file system
135.RS
136.IP adm/
137administrative information
138.RS
139.IP wtmp
140login history,
141.IR utmp (5)
142.IP messages
143hardware error messages
144.IP tracct
145phototypesetter accounting,
146.IR troff (1)
147.IP lpacct
148line printer accounting
149.IR lpr (1)
150.IP "vaacct, vpacct"
151varian and versatec accounting
152.IR vpr (1),
153.IR vtroff (1),
154.IR vpac (1)
155.RE
156.RE
157.IP /usr\t/bin
158.RS
159utility programs, to keep /bin/ small
160.IP tmp/
161temporaries, to keep /tmp/ small
162.RS
163.IP stm*
164used by
165.IR sort (1)
166.IP raster
167used by
168.IR plot (1)
169.RE
170.IP dict/
171word lists, etc.
172.RS
173.IP words
174principal word list, used by
175.IR look (1)
176.IP spellhist
177history file for
178.IR spell (1)
179.RE
180.IP games/
181.RS
182.IP hangman
183.IP lib/
184library of stuff for the games
185.RS
186.IP quiz.k/
187what
188.IR quiz (6)
189knows
190.RS
191.IP index
192category index
193.IP africa
194countries and capitals
195.IP ...
196.RE
197.IP ...
198.RE
199.IP ...
200.RE
201.IP include/
202standard #include files
203.RS
204.IP a.out.h
205object file layout,
206.IR a.out (5)
207.IP stdio.h
208standard I/O,
209.IR stdio (3)
210.IP math.h
211(3M)
212.IP ...
213.IP sys/
214system-defined layouts, cf /usr/sys/h
215.RE
216.IP lib/
217object libraries and stuff, to keep /lib/ small
218.RS
219.IP atrun
220scheduler for
221.IR at (1)
222.IP lint/
223utility files for lint
224.RS
225.IP lint[12]
226subprocesses for
227.IR lint (1)
228.IP llib-lc
229dummy declarations for /lib/libc.a, used by
230.IR lint (1)
231.IP llib-lm
232dummy declarations for /lib/libc.m
233.IP ...
234.RE
235.IP struct/
236passes of
237.IR struct (1)
238.IP ...
239.IP tmac/
240macros for
241.IR troff (1)
242.RS
243.IP tmac.an
244macros for
245.IR man (7)
246.IP tmac.s
247macros for
248.IR ms (7)
249.IP ...
250.RE
251.IP font/
252fonts for
253.IR troff (1)
254.RS
255.IP ftR
256Times Roman
257.IP ftB
258Times Bold
259.IP ...
260.RE
261.IP uucp/
262programs and data for
263.IR uucp (1)
264.RS
265.IP L.sys
266remote system names and numbers
267.IP uucico
268the real copy program
269.IP ...
270.RE
271.IP units
272conversion tables for
273.IR units (1)
274.IP eign
275list of English words to be ignored by
276.IR ptx (1)
277.RE
278.RE
279.br
280.ne 5
281.IP /usr/\tman/
282.RS
283volume 1 of this manual,
284.IR man (1)
285.RS
286.IP man0/
287general
288.RS
289.IP intro
290introduction to volume 1,
291.IR ms (7)
292format
293.IP xx
294template for manual page
295.RE
296.IP man1/
297chapter 1
298.RS
299.IP as.1
300.IP mount.1m
301.IP ...
302.RE
303.IP ...
304.IP cat1/
305preformatted pages for section 1
306.IP ...
307.RE
308.IP msgs/
309messages, cf
310.IR msgs (1)
311.RS
312.IP bounds
313highest and lowest message
314.RE
315.IP new/
316binaries of new versions of programs
317.IP preserve/
318editor temporaries preserved here after crashes/hangups
319.IP public/
320binaries of user programs - write permission to everyone
321.IP spool/
322delayed execution files
323.RS
324.IP at/
325used by
326.IR at (1)
327.IP lpd/
328used by
329.IR lpr (1)
330.RS
331.IP lock
332present when line printer is active
333.IP cf*
334copy of file to be printed, if necessary
335.IP df*
336daemon control file,
337.IR lpd (8)
338.IP tf*
339transient control file, while
340.I lpr
341is working
342.RE
343.IP uucp/
344work files and staging area for
345.IR uucp (1)
346.RS
347.IP LOGFILE
348summary log
349.IP LOG.*
350log file for one transaction
351.RE
352.IP mail/
353mailboxes for
354.IR mail (1)
355.RS
356.TP
357.I name
358mail file for user
359.I name
360.TP
361.IR name .lock
362lock file while
363.I name
364is receiving mail
365.RE
366.IP secretmail/
367like
368.IR mail /
369.IP uucp/
370work files and staging area for
371.IR uucp (1)
372.RS
373.IP LOGFILE
374summary log
375.IP LOG.*
376log file for one transaction
377.RE
378.RE
379.TP
380.I wd
381initial working directory of a user,
382typically
383.I wd
384is the user's login name
385.RS
386.TP
387.BR . profile
388set environment for
389.IR sh (1),
390.IR environ (5)
391.TP
392.BR . project
393what you are doing (used by (
394.IR finger (1)
395)
396.TP
397.BR . cshrc
398startup file for
399.IR csh (1)
400.TP
401.BR . exrc
402startup file for
403.IR ex (1)
404.TP
405.BR . plan
406what your short-term plans are (used by
407.IR finger (1)
408)
409.TP
410.BR . netrc
411startup file for
412.IR net (1)
413.TP
414.BR . msgsrc
415startup file for
416.IR msgs (1)
417.TP
418.BR . mailrc
419startup file for
420.IR mail (1)
421.IP calendar
422user's datebook for
423.IR calendar (1)
424.RE
425.IP doc/
426papers, mostly in volume 2 of this manual, typically in
427.IR ms (7)
428format
429.RS
430.IP as/
431assembler manual
432.IP c
433C manual
434.IP ...
435.RE
436.RE
437.RE
438.IP /usr/\tsrc/
439.RS
440.IP
441source programs for utilities, etc.
442.RS
443.IP cmd/
444source of commands
445.RS
446.IP as/
447assembler
448.IP ar.c
449source for
450.IR ar (1)
451.IP ...
452.IP troff/
453source for
454.I nroff
455and
456.IR troff (1)
457.RS
458.IP font/
459source for font tables, /usr/lib/font/
460.RS
461.IP ftR.c
462Roman
463.IP ...
464.RE
465.IP term/
466terminal characteristics tables, /usr/lib/term/
467.RS
468.IP tab300.c
469DASI 300
470.IP ...
471.RE
472.IP ...
473.RE
474.RE
475.IP games/
476source for /usr/games
477.IP libc/
478source for functions in /lib/libc.a
479.RS
480.IP crt/
481C runtime support
482.IP csu/
483startup and wrapup routines needed with every C program
484.RS
485.IP crt0.s
486regular startup
487.IP mcrt0.s
488modified startup for
489.I cc \-p
490.RE
491.IP sys/
492system calls (2)
493.RS
494.IP access.s
495.IP alarm.s
496.IP ...
497.RE
498.IP stdio/
499standard I/O functions (3S)
500.RS
501.IP fgets.c
502.IP fopen.c
503.IP ...
504.RE
505.IP gen/
506other functions in (3)
507.RS
508.IP abs.c
509.IP ...
510.RE
511.RE
512.IP local/
513source which isn't normally distributed
514.IP new/
515source for new versions of commands and library routines
516.IP old/
517source for old versions of commands and library routines
518.IP sys/
519system source
520.RS
521.IP h/
522header (include) files
523.RS
524.IP acct.h
525.IR acct (5)
526.IP stat.h
527.IR stat (2)
528.IP ...
529.RE
530.IP sys/
531system source proper
532.RS
533.IP main.c
534.IP pipe.c
535.IP sysent.c
536system entry points
537.RE
538.RE
539.RE
540.IP ucb/
541binaries of programs developed at UCB
542.RS
543.IP ...
544.IP edit
545editor for beginners
546.IP ex
547command editor for experienced users
548.IP ...
549.IP mail
550mail reading/sending subsystem
551.IP man
552on line documentation
553.IP ...
554.IP pi
555Pascal translator
556.IP px
557Pascal interpreter
558.IP ...
559.IP vi
560visual editor
561.RE
562.RE
563.ad
564.SH SEE ALSO
565ls(1), apropos(1), whatis(1), whereis(1), finger(1), which (1), ncheck(8), find(1), grep(1)
566.SH BUGS
567The position of files is subject to change without notice.