Linux command detailed-man

Source: Internet
Author: User

The man command provides reference information about the subject, such as commands, subroutines, and files. The man command provides a single-line description of the command specified by name. The man command also provides information about all the commands that contain a user-specified set of keywords.

1 . Command format:

man [[-C] [-t] [section]] | [-K |-F]] [-mpath] [-R] Title ... ]

2 . Command function:

The man command formats the specified collection of manual pages. If you specify a segment for the section parameter, the man command searches the section of the manual page for the title specified by the title parameter. The value of the section parameter can be 1 to 8 Arabic numerals or letters.

The section letters are:

C Specifies the command (including system administration commands).

F Specify the File type manual page.

L Specify library functions.

n is specified as the new.

The L is specified as local.

O is specified as the original.

P is specified as public.

Note:

The N, l, O, and p segment specifiers are not valid for reading hypertext repositories, and the hypertext repository contains the operating system documentation.

The section numbers are:

1 represents the user command and daemon.

2 represents system calls and kernel services.

3 represents a subroutine.

4 represents special files, device drivers, and hardware.

5 represents the configuration file.

6 means the game.

7 represents the Miscellaneous command.

8 represents the management command and daemon.

???????? Mans:

???????????? Name: command names and features brief description

???????????? Synopsis: Usage notes, including available options

???????????? DESCRIPTION: A detailed description of the command function, which may include the meaning of each option

???????????? Options: Explaining the meaning of each option

???????????? Files: The configuration file associated with this command

???????????? BUGS:

???????????? EXAMPLES: Using the example

???????????? See ALSO: Another reference

???????? Parameter description

???????????? []: Optional

... : multiple times can occur

|: Choose one More

{}: Grouping

3 . Command parameters:

???? MAN-A: Search and open all of the man's same name help,

???? Man-aw: Displays the path to all manual files.

???? MAN-M: Specifies the search path for the manual file,

???? Man-k: Search online Help based on keywords,

???? Man-f: Exact keyword search, unlike-K,

4 . Usage Examples:

1. To display information about the grep command, enter:

Mans grep

2. To display information about the Rpc_$register library routine, enter:

Man rpc_\ $register

3. To display all the entries in the/usr/share/man/whatis keyword database that contain the "mkdir" string, enter:

Man-k mkdir

This output is equivalent to the apropos command. You can receive output from the-K flag only if the/usr/share/man/whatis keyword database already exists.

4. To display all the items in the keyword database related to the Nroff and Troff commands,

Man-f Nroff Troff

This output is equivalent to the Whatis command. You can receive output from the-K flag only if the/usr/share/man/whatis keyword database already exists.

5. To display all objects associated with the FTP command in the/usr/share/man or/usr/share/man/local path, enter:

man-m/usr/share/man:/usr/share/man/local FTP

?

5. Operating Instructions

:SPACE "Page Up"???????? #向后翻一屏

:B "Page Down"???????????? #向前翻一屏

:ENTER "Up"???????????? #向后翻一行

:K "Down"???????????? #向前翻一行

?

Find:

/keyword:???????????????? #向后

N:???????????????????? #下一个

N:???????????????????? #前一个

?

? KEYWORD:???????? ???????? #向前

N:???????????????????? #下一个

N:???????????????????? #前一个

????

Q: ???????????????????? #退出

Linux command detailed-man

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.