git(1)中的"(1)"是什么?

tow*_*ane 2 git

当搜索信息有关的Git的文件中的命令,我注意到一些命令已被命名为(1)(git(1),git-checkout(1),git-reset(1))和一些有(7)(gittutorial(7))

它是否对应可能参数的数量?

谢谢

Rem*_*ich 6

这是man页面的类型.man手册分为几个部分,第1章是可执行文件,git是可执行文件.整个清单由man man下列人员给出:

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 conventions), e.g. man(7), groff(7)
8   System administration commands (usually only for root)
9   Kernel routines [Non standard]
Run Code Online (Sandbox Code Playgroud)

有些东西是在多个部分,像time既是命令和系统调用,看之间的区别man 1 timeman 2 time.