How do I get Linux command help?

Source: Internet
Author: User

Get command Use Help:

Internal command: Help command

External command: Command--help (most commands have the Help option)

Command manual: Manual

Man [chapter number] COMMAND

Where the man database is divided into chapters, the same command appears in different chapters representing different meanings.

You can use the Whatis command to see what chapters of the command are present in the man.

A total of 8 chapters:

1: User command (/bin,/usr/bin,/usr/local/bin, etc.)

2: System call

3: library Call

4: Special documents (equipment files, etc.)

5: File format (the syntax of the configuration file, such as the meaning of each part separated by a colon in/etc/passwd)

6: Game

7: Miscellaneous (Miscellaneous) (poorly categorized content)

8: System command (/sbin,/usr/sbin,/usr/local/sbin, etc.)

Show command format in man:

<>: Indicates the content that must be given, such as options, parameters, etc.

[]: Indicates an optional

... : Indicates that you can repeat

| : Choose one More

{}: Represents grouping


Man result fragment content:

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

Option: Describe the meaning of each option

Files: The configuration file associated with this command

BUGS:

EXAMPLES: Using the example

See ALSO: Another reference

This article is from the "Night" blog, please be sure to keep this source http://liuqun.blog.51cto.com/3544993/1983355

How do I get Linux command help?

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.