起因:想找一找"visudo"的用法.
[root@localhost t1]# visudo -h
visudo: invalid option -- 'h'
usage: visudo [-chqsV] [-f sudoers]
[root@localhost t1]# visudo --help
visudo: invalid option -- '-'
usage: visudo [-chqsV] [-f sudoers]
[root@localhost t1]# help visudo
-bash: help: no help topics match `visudo'.  Try `help help' or `man -k visudo' or `info visudo'.
[root@localhost t1]# man -k visudo
visudo (8)           - edit the sudoers file
到这里时, 我发现了man的另一个用法:"man -k 关键字", (好吧, 小白).
[root@localhost t1]# man -k passwd
chpasswd (8)         - update passwords in batch mode
gpasswd (1)          - administer /etc/group and /etc/gshadow
grub2-mkpasswd-pbkdf2 (1) - Generate a PBKDF2 password hash.
lpasswd (1)          - Change group or user password
pam_localuser (8)    - require users to be listed in /etc/passwd
passwd (1)           - update user's authentication tokens
sslpasswd (1ssl)     - compute password hashes
pwhistory_helper (8) - Helper binary that transfers password hashes from passwd or shadow to opasswd
[root@localhost t1]#

1 用户命令, 可由任何人启动的。

2 系统调用, 即由内核提供的函数。

3 例程, 即库函数。

4 设备, 即/dev目录下的特殊文件。

5 文件格式描述, 例如/etc/passwd。

6 游戏, 不用解释啦!

7 杂项, 例如宏命令包、惯例等。

8 系统管理员工具, 只能由root启动。

9 其他(Linux特定的), 用来存放内核例行程序的文档。

n 新文档, 可能要移到更适合的领域。

o 老文档, 可能会在一段期限内保留。

l 本地文档, 与本特定系统有关的。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2021-11-29
  • 2021-09-01
  • 2021-12-14
  • 2021-07-10
  • 2021-04-15
猜你喜欢
  • 2022-03-03
  • 2021-06-24
  • 2021-07-04
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案