如果你不知道完成某个特定任务所需要命令的名称,可以使用一个关键字通过Linux apropos实用程序来搜索它。该实用程序可以搜索关键字并且显示所有包含匹配项的man页面的简短描述。另外,使用man实用程序和-k(关键字)选项,可以得到和用Linux apropos实用程序相同的结果(实际上是相同的命令)。
以下是Linux apropos命令列表:
- [root@localhost ~]# man -k who
- at.allow [at] (5) - determine who can submit jobs via at or batch
- at.deny [at] (5) - determine who can submit jobs via at or batch
- jwhois (1) - client for the whois service
- jwhois (rpm) - Internet whois/nicname client.
- Net::LDAP::Extension::WhoAmI (3pm) - LDAP Who am I? Operation
- w (1) - Show who is logged on and what they are doing
- who (1p) - display who is on the system
- who (1) - show who is logged on
- whoami (1) - print effective userid
- [root@localhost ~]# apropos who
- at.allow [at] (5) - determine who can submit jobs via at or batch
- at.deny [at] (5) - determine who can submit jobs via at or batch
- jwhois (1) - client for the whois service
- jwhois (rpm) - Internet whois/nicname client.
- Net::LDAP::Extension::WhoAmI (3pm) - LDAP Who am I? Operation
- w (1) - Show who is logged on and what they are doing
- who (1p) - display who is on the system
- who (1) - show who is logged on
- whoami (1) - print effective userid
来源:(http://blog.sina.com.cn/s/blog_4a80a5730100fh5s.html) - Linux apropos命令_workdsz_新浪博客
【编辑推荐】