Summary three: Linux get command Help

Source: Internet
Author: User

Summary three: Linux get command Help

One, command type view

Usage: type COMMAND

Second, Shell built-in commands

usage:helpCOMMAND

Third, external command

1 , get brief help information

usage:COMMAND--help

2 , get detailed help information ( user manual )

usage:manCOMMAND

Mans is actually Manual ( manual ) the abbreviation for one of its file paths: /usr/share/man/

(1). explanation of the paragraph name in the manual

NAME : Command name

DESCRIPTION : A detailed description of the command function

OPTIONS : All options

Synopsis : Using formatting

EXAMPLES : Using the example

FILES : The configuration file associated with the current command

See ALSO : Other manuals available for reference

(2). the format string in the manual:

[]: can be omitted

<> : cannot be omitted

                     | : Two Select one or more

                     ... : Similar content can appear in multiple

{a|b} : a or b Choose a

(3). Man tips for using:

Flip Screen:

SPACEBAR : Flip a screen to the end of a file

b : Flip a screen to the file header

Enter: Flip a line to the end of the file

k : Flip a line to the file header

Ctrl+d : Turn half screen at the end of the file

Ctrl+u : Turn half screen to file header

String Search:

/keyword : Search from the file header to the tail

? keyword : Search from the end of the file

N : Shows the next found

N : Displays the last found

exit:Q

(4). Man Manual Chapters

Mans Can provide help manuals for configuration files other than commands, system calls, library calls, and so on, in separate chapters:

1 : User Commands

2 : System Call

3 : library Call

4 : Device file Format

5 : Configuration file

6 : Game

7 : Miscellaneous

8 : Manage Commands

Usage: Man [#] COMMAND # represent numbers

Attention:

How to see which chapters of a specified command are helpful, use the whatis command

usage:whatis COMMAND

Whatis A lookup operation is performed based on the database, which is updated periodically for the system; Makewhatis Manual Update.

3 , get online documentation

Usage:info COMMAND

generally only in Mans Manual is not available for sufficient information or to understand the development history of the program Info .

4 , many applications have their own Help documentation: /usr/share/doc/

ChangeLog : Changes in program version upgrades

INSTALL : Installation Method Description

README : Program Description Information

5 , view official documentation for the mainstream release, such as RedHat wait

document URL --redhat:http://www.redhat.com/docs/

6 , Inquire Google great God, most problems can be solved.

This article is from the "Hades Blog" blog, please be sure to keep this source http://hades02.blog.51cto.com/9768670/1671750

Summary three: Linux get 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.