How to use the Inux Man Command (GO)

Source: Internet
Author: User

Original: http://www.cnblogs.com/hnrainll/archive/2011/09/06/2168604.html

The Linux Man Handbook has several chapters:

represents content
1 directives or executables (that is, standard commands) that the consumer can manipulate in the shell
2 system core callable functions and tools (i.e. systems Call)
3 some often Functions (function) and function libraries (library), most of which are C's function libraries (LIBC) (that is, library functions)
4 Description of the appliance file, usually in/dev File (that is, device description)
5 profile or some file format (that is, document format)
6 Game (games)
7 conventions and agreements, such as Linu X-file systems, network protocols, ASCII code, and so forth (i.e. miscellaneous)
8 system administrators available management directives /td>
9 files related to kernel

For example: We enter the man LS, it will show "LS (1)" in the upper left corner, where "ls" denotes the manual name, and "(1)" means that the manual is in the first section, similarly, we enter "man ifconfig" it will show "ifconfig (8)" in the upper left corner. 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
The Manual for the Sleep (1) User command is shown below

Sleep (1) User Commands Sleep (1) namesleep-delay for a specified amount of Timesynopsissleep number[suffix]...sleep OPTION

If you want to see the library function sleep, you need to enter:
Mans 3 Sleep

Sleep (3)                   Linux Programmer ' s Manual                  SLEEP (3) NAME sleep-sleep for the specified number of       secondssynopsis
    #include <unistd.h>       unsigned int sleep (unsigned int seconds);

How to use the Inux Man Command (GO)

Related Article

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.