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