1. Get online help from the Solaris system
The Solaris system provides very rich online help. These help are mainly in two forms, one is the Command Reference manual page (Reference Manual pages, which we often call the man page), and the other is the answer book, is the electronic version of Sun's information.
How to use the Solaris online Help:
A. Use reference Manual Page
To use the man command on the command line:
Such as: $ man ls
B. Use of answer book
Using the Answerbook command on the command line
such as: $ answerbook
Organization of 2.Man Page
The UNIX man page is organized according to the section. When we use man ls, we see LS (1),
The 1 in parentheses means that the man page of LS is located in section 1.
A section is usually made up of a primary and an optional sub name. The principal section name is usually
A number, the secondary section name is usually composed of one or more letters.
What each section in Solaris corresponds to:
1:user Commands and Utilities
2:system Calls
3:C Library functions
4:file formats
5:headers,tables and macros
6:games and Demos
7:device and network Interfaces
8:maintance and Accounting commands
9:device Driver Interfaces
3.Man Page Storage Location
A. The man page of the system itself is stored in the/usr/share/man/man* directory, and/usr/man is a soft link for/usr/share/man.
Note: The man page is an optional installation when the operating system is installed. If it is not installed, you can mount the/usr/share/man directory on the other machine to this computer. Or use the installation disc to install the corresponding package.
B. Many applications have their own man page. Their default installation directory is usually/usr/local/man/man*. You can usually specify a new installation directory by modifying the configuration file for the software (just set to/some/directory/man
This layer)