Getting online help from the Solaris system

Source: Internet
Author: User
Tags command line manual

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.