CHAPTER 24 Useful Utilities
The man pages generally follow the conventions given in the following table.
SunOS 4.X | SunOS 5.X | Description |
---|---|---|
man1 | man1 | user commands - from the shell prompt |
man2 | man2 | system calls - C functions interfacing between user programs and the kernel |
man3 | man3 | user level library functions - C library functions for user programs |
man4 | man7 & man9 | device drivers and network interfaces - describes access to special files in /dev |
man5 | man4 | file formats - describes formats used by system programs |
man6 | man6 | games and demo descriptions |
man7 | man5 | miscellaneous - including standards and text processing |
man8 | man1m | system administration - commands for system maintenance and operation |
manl | manl | locally installed man pages |
mann | mann | new man pages |
You can install other man pages under any hierarchy, e.g. /usr/local/man or /usr/lang/man, and make them accessible to the man command by setting the MANPATH environment variable to include them, i.e. for the C-shell:
% setenv MANPATH /usr/local/man:/usr/man:/usr/lang/man
and for the Bourne shell:
MANPATH=/usr/local/man:/usr/man:/usr/lang/man ; export MANPATH