在 linux 终端打开手册页

open a man page in linux terminal

如何从终端打开 mkdir 的手册页。我想要下面link.

中给出的手动输入

就这样给吧

  man 2 mkdir 

来自 manman 页面

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]

你需要打开系统调用,所以你必须提到2。如果你这样输入,man mkdir然后它会打开mkdirman页面命令。

您可以使用 man 命令从终端打开手册页。

man 2 mkdir

有关详细信息,您可以使用 man man