1HIER(7) Miscellaneous Information Manual HIER(7)
2
3
4
6 hier - file system hierarchy
7
9 The following outline gives a quick tour through a representative
10 directory hierarchy.
11
12 / root
13 /dev/ devices (4)
14 console
15 main console, tty(4)
16 tty* terminals, tty(4)
17 cat phototypesetter cat(4)
18 rp* disks, rp, hp(4)
19 rrp* raw disks, rp, hp(4)
20 ...
21 /bin/ utility programs, cf /usr/bin/ (1)
22 as assembler first pass, cf /usr/lib/as2
23 cc C compiler executive, cf /usr/lib/c[012]
24 ...
25 /lib/ object libraries and other stuff, cf /usr/lib/
26 libc.a system calls, standard I/O, etc. (2,3,3S)
27 libm.a math routines (3M)
28 libplot.a
29 plotting routines, plot(3)
30 libF77.a
31 Fortran runtime support
32 libI77.a
33 Fortran I/O
34 ...
35 as2 second pass of as(1)
36 c[012] passes of cc(1)
37 ...
38 /etc/ essential data and dangerous maintenance utilities
39 passwd password file, passwd(5)
40 group group file, group(5)
41 motd message of the day, login(1)
42 mtab mounted file table, mtab(5)
43 ddate dump history, dump(1)
44 ttys properties of terminals, ttys(5)
45 getty part of login, getty(8)
46 init the father of all processes, init(8)
47 rc shell program to bring the system up
48 cron the clock daemon, cron(8)
49 mount mount(1)
50 wall wall(1)
51 ...
52 /tmp/ temporary files, usually on a fast device, cf /usr/tmp/
53 e* used by ed(1)
54 ctm* used by cc(1)
55 ...
56 /usr/ general-pupose directory, usually a mounted file system
57 adm/ administrative information
58 wtmp login history, utmp(5)
59 messages
60 hardware error messages
61 tracct phototypesetter accounting, troff(1)
62 vpacct line printer accounting lpr(1)
63 /usr /bin
64 utility programs, to keep /bin/ small
65 tmp/ temporaries, to keep /tmp/ small
66 stm* used by sort(1)
67 raster used by plot(1)
68 dict/ word lists, etc.
69 words principal word list, used by look(1)
70 spellhist
71 history file for spell(1)
72 games/
73 bj blackjack
74 hangman
75 quiz.k/
76 what quiz(6) knows
77 index category index
78 africa countries and capitals
79 ...
80 ...
81 include/
82 standard #include files
83 a.out.h
84 object file layout, a.out(5)
85 stdio.h
86 standard I/O, stdio(3)
87 math.h (3M)
88 ...
89 sys/ system-defined layouts, cf /usr/sys/h
90 acct.h process accounts, acct(5)
91 buf.h internal system buffers
92 ...
93 lib/ object libraries and stuff, to keep /lib/ small
94 lint[12]
95 subprocesses for lint(1)
96 llib-lc
97 dummy declarations for /lib/libc.a, used by
98 lint(1)
99 llib-lm
100 dummy declarations for /lib/libc.m
101 atrun scheduler for at(1)
102 struct/
103 passes of struct(1)
104 ...
105 tmac/ macros for troff(1)
106 tmac.an
107 macros for man(7)
108 tmac.s macros for ms(7)
109 ...
110 font/ fonts for troff(1)
111 R Times Roman
112 B Times Bold
113 ...
114 uucp/ programs and data for uucp(1)
115 L.sys remote system names and numbers
116 uucico the real copy program
117 ...
118 suftab table of suffixes for hyphenation, used by
119 troff(1)
120 units conversion tables for units(1)
121 eign list of English words to be ignored by ptx(1)
122 /usr/ man/
123 volume 1 of this manual, man(1)
124 man0/ general
125 intro introduction to volume 1, ms(7) format
126 xx template for manual page
127 man1/ chapter 1
128 as.1
129 mount.1m
130 ...
131 cat1/ preprinted pages for man1/
132 as.1
133 mount.1m
134 ...
135 spool/ delayed execution files
136 at/ used by at(1)
137 lpd/ used by lpr(1)
138 lock present when line printer is active
139 cf* copy of file to be printed, if necessary
140 df* daemon control file, lpd(8)
141 tf* transient control file, while lpr is
142 working
143 uucp/ work files and staging area for uucp(1)
144 LOGFILE
145 summary log
146 LOG.* log file for one transaction
147 mail/ mailboxes for mail(1)
148 uid mail file for user uid
149 uid.lock
150 lock file while uid is receiving mail
151 wd initial working directory of a user, typically wd is the
152 user's login name
153 .profile
154 set environment for sh(1), environ(5)
155 calendar
156 user's datebook for calendar(1)
157 doc/ papers, mostly in volume 2 of this manual, typically in
158 ms(7) format
159 as/ assembler manual
160 c C manual
161 ...
162 sys/ system source
163 dev/ device drivers
164 bio.c common code
165 cat.c cat(4)
166 dh.c DH11, tty(4)
167 tty tty(4)
168 ...
169 conf/ hardware-dependent code
170 mch.s assembly language portion
171 conf configuration generator
172 ...
173 h/ header (include) files
174 acct.h acct(5)
175 stat.h stat(2)
176 ...
177 sys/ source for system proper
178 main.c
179 pipe.c
180 sysent.c
181 system entry points
182 ...
183 /usr/ src/
184 source programs for utilities, etc.
185 cmd/ source of commands
186 as/ assembler
187 makefile
188 recipe for rebuilding the assembler
189 as1?.s source of pass1
190 ar.c source for ar(1)
191 ...
192 troff/ source for nroff and troff(1)
193 nmake makefile for nroff
194 tmake makefile for troff
195 font/ source for font tables,
196 /usr/lib/font/
197 ftR.c Roman
198 ...
199 term/ terminal characteristics tables,
200 /usr/lib/term/
201 tab300.c
202 DASI 300
203 ...
204 ...
205 libc/ source for functions in /lib/libc.a
206 crt/ C runtime support
207 ldiv.s division into a long
208 lmul.s multiplication to produce long
209 ...
210 csu/ startup and wrapup routines needed with
211 every C program
212 crt0.s regular startup
213 mcrt0.s
214 modified startup for cc -p
215 sys/ system calls (2)
216 access.s
217 alarm.s
218 ...
219 stdio/ standard I/O functions (3S)
220 fgets.c
221 fopen.c
222 ...
223 gen/ other functions in (3)
224 abs.c
225 atof.c
226 ...
227 compall
228 shell procedure to compile libc
229 mklib shell procedure to make /lib/libc.a
230 libI77/
231 source for /lib/libI77
232 libF77/
233 ...
234 games/ source for /usr/games
236 ls(1), ncheck(1), find(1), grep(1)
238 The position of files is subject to change without notice.
239
240
241
242 HIER(7)