Linux使用 -- 帮助命令
man
- Executable programs or shell commands
- System calls (functions provided by the kernel)
- Library calls (functions within program libraries)
- Special files (usually found in /dev)
- File formats and conventions eg /etc/passwd
- Games
- Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
- System administration commands (usually only for root)
- Kernel routines [Non standard]
1 | $ ls /usr/bin/passwd /etc/passwd |
help
- shell(命令解析器)自带的命令称为内部命令,其它的是外部命令
- 内部命令:
help cd
- 外部命令:
ls --help
1 | $ type cd |
info
- info比help更详细,
info ls
参考资料
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.