LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 781|回复: 3

man -k好像无效啊……

[复制链接]
发表于 2005-6-6 19:41:38 | 显示全部楼层 |阅读模式
man man可以看见有-k选项,但是实际man -k却总显示“nothing approriate”。aproros -r也是一样的结果。不知道有什么解决方法没?没有man -k实在太不习惯了……
发表于 2005-6-6 22:16:28 | 显示全部楼层
man -k ###
需要提供一个关键字,然后man会列出与你提供的关键字匹配的列表
比如:
sarge:~# man -k gcc
gcc (1)              - GNU project C and C++ compiler
gcc-2.95 (1)         - GNU project C and C++ Compiler (gcc-2.95)
gcc-3.0 (1)          - GNU project C and *(C+ compiler
gcc-3.3 (1)          - GNU project C and C++ compiler
gccbug (1)           - Reporting GCC Bugs
gccbug-3.0 (1)       - No manpage for this program, utility or function.
gccbug-3.3 (1)       - Reporting GCC Bugs
i386-linux-gcc (1)   - GNU project C and C++ compiler
i386-linux-gcc-3.3 (1) - GNU project C and C++ compiler
i486-linux-gcc-3.3 (1) - GNU project C and C++ compiler
sarge:~#
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-6 23:24:24 | 显示全部楼层
晕,当然会用man -k……最喜欢用的命令了……man man之后,在-k那一条里面有个例子是man -k printf,在其他任何系统里面都正常,但是在SuSE 9.3下居然显示“nothing approriate”……气死……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-7 18:01:37 | 显示全部楼层
重新装了一次,又正常了……晕死。不知道怎么回事了,步骤都完全一样的……现在正在SUSE下灌水ing……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表