linux man page sections

linux man page sections

------------------------------------------------------------------------
1 User commands (Programs)
Commands that can be executed by the user from within a shell.

2 System calls
Functions which wrap operations performed by the kernel.

3 Library calls
All library functions excluding the system call wrappers (Most
of the libc functions).

4 Special files (devices)
Files found in /dev which allow to access to devices through
the kernel.

5 File formats and configuration files
Describes various human-readable file formats and
configuration files.

6 Games
Games and funny little programs available on the system.

7 Overview, conventions, and miscellaneous
Overviews or descriptions of various topics, conventions and
protocols, character set standards, the standard filesystem
layout, and miscellaneous other things.

8 System management commands
Commands like mount(8), many of which only root can execute.

------------------------------------------------------------------------

  • Section # 1 : User command (executable programs or shell commands)
  • Section # 2 : System calls (functions provided by the kernel)
  • Section # 3 : Library calls (functions within program libraries)
  • Section # 4 : Special files (usually found in /dev)
  • Section # 5 : File formats and conventions eg /etc/passwd
  • Section # 6 : Games
  • Section # 7 : Miscellaneous (including macro packages and conventions),
  • Section # 8 : System administration commands (usually only for root)
  • Section # 9 : Kernel routines [Non standard]

https://man7.org/linux/man-pages/man7/man-pages.7.html

原文地址:https://www.cnblogs.com/pugang/p/13589613.html