首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >“人7准则”中的"7“有何意义?

“人7准则”中的"7“有何意义?
EN

Unix & Linux用户
提问于 2015-09-26 23:34:30
回答 1查看 616关注 0票数 2

当我在shell中键入man regex时,这将加载

代码语言:javascript
复制
REGEX(3)                                                     Linux Programmer's Manual                                                     REGEX(3)

NAME
       regcomp, regexec, regerror, regfree - POSIX regex functions

SYNOPSIS
........

当我输入man 7 regex时,我会得到一个不同的手册页

代码语言:javascript
复制
REGEX(7)                                                     Linux Programmer's Manual                                                     REGEX(7)

NAME
       regex - POSIX.2 regular expressions

DESCRIPTION
........

这里发生了什么事?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-09-26 23:36:42

您可以在man man上找到更多关于这方面的信息。手册页被分成不同的部分。这样就可以将事物与相似的事物组合在一起,并且您可以在不同的地方使用相同的名称(比如,stat,它存在于几个部分中)。

在我以前的Fedora的man man中定义的部分是:

代码语言:javascript
复制
1   Executable programs or shell commands
2   System calls (functions provided by the kernel)
3   Library calls (functions within program libraries)
4   Special files (usually found in /dev)
5   File formats and conventions eg /etc/passwd
6   Games
7   Miscellaneous  (including  macro  packages and conven‐
       tions), e.g. man(7), groff(7)
8   System administration commands (usually only for root)
9   Kernel routines [Non standard]
票数 4
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/232265

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档