hier(5)
NAME
hier − file system hierarchy
DESCRIPTION
The following outline gives a quick tour through a representative HP-UX directory hierarchy. Some of the directories listed only appear with HP-UX versions that support certain optional commands or packages that use those directories. Some HP-UX versions add special directories not shown here.
/ Root directory.
/bin Frequently-used commands and those required to boot, restore, recover, and/or repair the system.
/dev Special files (device files); see mknod(1).
/etc
/etc/newconfig New (updated) versions of customizable (localizable) configuration files and shell scripts. Shipped here so as not to overwrite current versions. Copied to regular locations for newly installed systems. System administrators may wish to keep them for later reference.
/lib Frequently-used object code libraries and related utilities.
/lost+found For connecting detached files; for use by fsck(1).
/rbin An analog to /bin for users in the restricted environment of rsh(1).
/tmp Place to put temporary files (those normally with short lifetimes and which may be removed without notice).
/users User home directories; sometimes immediate, sometimes at lower levels.
/users/guest Default home directory for user "guest"; see passwd(4). Directory exists for novice users; you may wish to remove it.
/usr Less-frequently-used commands and other miscellaneous things; historically, often a separate, mounted volume.
/usr/adm
/usr/adm/sa
/usr/bin Less-frequently-used commands and those not required to boot, restore, recover, and/or repair the system.
/usr/bin/graph Gutil(1) graphics commands.
/usr/contrib User-contributed (unsupported, internal) commands, files, etc. Files under this directory come from outside the local site or organization, e.g. from users groups, HP service engineers, etc. See /usr/local for local-site commands and files.
/usr/contrib/bin User-contributed commands.
/usr/contrib/games User-contributed games.
/usr/contrib/include User-contributed include files. To include them, you must (in C) give a complete pathname, for example, #include "/usr/contrib/include/symtab.h".
/usr/contrib/lib User-contributed libraries.
/usr/contrib/man/cat[1-8]
User-contributed manual entries, formatted.
/usr/contrib/man/man[1-8]
User-contributed manual entries, unformatted.
/usr/contrib/man/$LANG/cat[1-8]
User-contributed manual entries, formatted form for installed native languages. The LANG environment variable may take on values given in the /usr/lib/nls/config table.
/usr/contrib/man/$LANG/man[1-8]
User-contributed manual entries, unformatted form for installed native languages.
/usr/include High-level C-language header files (shared definitions).
/usr/include/sys Low-level (kernel-related) C-language header files.
/usr/lib Less-frequently-used object code libraries, related utilities, miscellaneous data files, etc.
/usr/lib/acct Certain system-administrative commands.
/usr/lib/cron For cron(1M) and at(1) scheduling information.
/usr/lib/graphics/c Device-independent Graphics Library (DGL) special C-language include files. Optional on some systems.
/usr/lib/graphics/demos
DGL demonstration software.
/usr/lib/graphics/fortran
DGL special FORTRAN-language include files.
/usr/lib/graphics/pascal
DGL special Pascal-language include files.
/usr/lib/help Data files for help(1).
/usr/lib/lex Data files for lex(1).
/usr/lib/macros Macro definition packages for nroff(1) and troff.
/usr/lib/nlio Native Language I/O.
/usr/lib/nls Native Language support.
/usr/lib/nls/config Correspondence between integer language id and name.
/usr/lib/nls/$LANG Language definition (Character Set Support, Local Customs, and Messages) for installed native languages. The LANG environment variable may take on values given in the /usr/lib/nls/config table.
/usr/lib/sa
/usr/lib/spell Data files for spell(1).
/usr/lib/tabset Data files to set tabstops.
/usr/lib/term Terminal initialization files.
/usr/lib/tmac Macro definition packages for nroff(1) and troff.
/usr/lib/uucp[/∗] Commands, configuration files, and working directories for uucp(1).
/usr/local Site-local commands, files, etc. Files under this directory come from inside the local site or organization. See /usr/contrib for non-local unsupported commands and files.
/usr/local/bin Site-local commands.
/usr/local/games Site-local games.
/usr/local/include Site-local include files. To include them, you must (in C) give a complete pathname, for example, #include "/usr/local/include/symtab.h".
/usr/local/lib Site-local libraries.
/usr/local/man/cat[1-8]
Site-local manual entries, formatted.
/usr/local/man/man[1-8]
Site-local manual entries, unformatted.
/usr/local/man/$LANG/cat[1-8]
Site-local manual entries, formatted form for installed native languages. The LANG environment variable may take on values given in the /usr/lib/nls/config table.
/usr/local/man/$LANG/man[1-8]
Site-local manual entries, unformatted form for installed native languages.
/usr/mail User mailboxes.
/usr/man Online documentation.
/usr/man/cat[1-8] Optional formatted (by nroff) versions of online documentation for use by man(1).
/usr/man/man[1-8] Unformatted (nroff-compatible source) versions of online documentation for use by man(1).
/usr/man/$LANG Online documentation for installed native languages. The LANG environment variable may take on values given in the /usr/lib/nls/config table.
/usr/man/$LANG/cat[1-8]
Formatted native language versions of online documentation for use by man(1).
/usr/man/$LANG/man[1-8]
Unformatted native language versions of online documentation for use by man(1).
/usr/news Local-system news articles for news(1).
/usr/preserve Place where ex(1) and vi(1) save lost edit sessions until recovered.
/usr/rbin An analog to /usr/bin for users in a restricted environment (as imposed by rsh(1)).
/usr/spool Spooled (queued) files for various programs.
/usr/spool/cron Spooled jobs for cron(1M) and at(1).
/usr/spool/cron/atjobs
Spooled jobs for at(1).
/usr/spool/lp Control and working files for lp(1).
/usr/spool/lp/class Printer class definition files.
/usr/spool/lp/interface
Printer interface shell scripts.
/usr/spool/lp/member
Printer class member definition files.
/usr/spool/lp/request Spool directories for each logical destination.
/usr/spool/uucp Queued work, lockfiles, logfiles, status files, and other files for uucp(1).
/usr/spool/uucppublic[/∗]
Publicly-accessible directory for use with uucp(1).
/usr/src Source files. Only present on HP-UX implementations which support source.
/usr/src/cmd/∗ Source for commands. Simple command sources reside at the top level. Subdirectories are named after specific commands, e.g. /usr/src/cmd/cc, and contain the source for multi-file or otherwise complicated commands. Directory structure below here depends on the individual command; see the associated makefiles.
/usr/src/games/∗ Source for games. Simple game sources reside at the top level. Subdirectories are named after specific games, e.g. /usr/src/games/master, and contain the source for multi-file or otherwise complicated games. Directory structure below here depends on the individual game; see the associated makefiles.
/usr/src/head Include files which are copied into /usr/include/∗.
/usr/src/lib Source for libraries, in many subdirectories.
/usr/src/lib/libF77 Source for FORTRAN-77 miscellaneous (mostly math) libraries.
/usr/src/lib/libI77 Source for FORTRAN-77 I/O libraries.
/usr/src/lib/libPW Source for Programmer’s Workbench libraries.
/usr/src/lib/libc Source for standard C libraries.
/usr/src/lib/libcurses/∗
Source for curses (cursor control) libraries.
/usr/src/lib/libl Source for lex(1) libraries.
/usr/src/lib/libm Source for C math libraries.
/usr/src/lib/liby Source for yacc(1) libraries.
/usr/tmp Alternate place to put temporary files; usually used when there may be very many of them or if they will be large.
DEPENDENCIES
Some directories include commands or files not supported on all HP-UX implementations.
SEE ALSO
find(1), grep(1), ls(1), whereis(1).
Hewlett-Packard Company — HP-UX Release 9.0: August 1992