NotePublic/Software/Applications/Man/Man_使用帮助.md

22 lines
823 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Man 使用帮助
Linux man 中的 man 就是 manual 的缩写,用来查看系统中自带的各种参考手册,但是手册页分为好几个部分,如下所示:
1. Executable programs or shell commands用户命令帮助
2. System calls (系统调用帮助)
3. Library calls (库函数调用帮助)
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]
在 shell 中输入:
```bash
man <num> <cmd/function name>
```
即可以查到相关的命令和函数。若不加数字,那 Linux man 命令默认从数字较小的手册中寻找相关命令和函数。