The man command under Linux

Source: Internet
Author: User

The Man command is a help instruction under Linux, which allows you to view information such as instruction help, configuration file Help, and programming help in Linux.

Grammar
The Man (option) (parameter) option is optional, but the parameter must have.
Options
-A: Search in all the man help manuals;-F: Equivalent to the whatis instruction, which displays a short description of the given keyword;-p: Use a pager when specifying content;-M: Specifies the path of the man manual search. 
Parameters
  • Number: Specifies the manual of the Man from which to search for help;
  • Keywords: Specifies keywords to search for help.
Instance

As we type man ls , it will show "LS (1)" In the top left corner, where "ls" denotes the manual name, while "(1)" means the manual is in the first section, and again, we lose man ifconfig, it displays "IFCONFIG (8)" In the top left corner. As shown in the following:

You can also enter the command: "Man [chapter number] Manual name".

The man is searched in the order of the chapter number of the manual, for example:

Mans sleep

Only the Manual of the Sleep command is displayed, and if you want to see the library function sleep, enter: (shown below)

Mans 3 Sleep

The man command under Linux

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.