Meaning and usage of each chapter in the Linux man Manual

Source: Internet
Author: User

Linux man is very powerful. This manual is divided into multiple sections. When using man, you can specify different sections for browsing. The meaning of each section is as follows:

 
1-commands2-SystemCalls3-library calls4-Special files5-file formats and convertions6-GamesForLinux7-macro packages and conventions8-SystemManagement commands9-others

Explanations:

1 is a common command

2 is a system call, such as open and write (through this, at least we can easily find the header file to be added to call this function)

3 is a library function, such as printf and fread

4 is a special file, that is, various device files under/dev.

5 refers to the format of the file. For example, passwd, it will explain the meaning of each field in the file.

6 is reserved for games, defined by each game

7. Some variables are attached. For example, global variables such as environ are described here.

8 is a command used for system management. These commands can only be used by root, such as ifconfig

If you want to specify a section, add a number to the end of man. For example:

 MAN 1 lsman 3  printf  

for commands such as open and kill, man open displays open (1), that is, starting from the front section. To view open system calls, MAN 2 open is required.

run the following command to install:

Sudo apt-Get install manpagessudo apt-Get install manpages-desudo apt-Get install manpages-de-devsudo apt-Get install manpages-Dev

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.