admin管理员组

文章数量:1535316

执行man -k或man -f 出现nothing appropriate,同时还发现whatis 也是如此。

root@ubuntu01:~# whatis man
man: nothing appropriate.
root@ubuntu01:~# whatis ls
ls: nothing appropriate.

执行makewhatis无效,需执行mandb建立索引,问题解决。

root@ubuntu01:~# makewhatis
makewhatis: command not found

root@ubuntu01:~# mandb
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man8'. Wait...mandb: can't open /usr/share/man/man8/smtp.8: No such file or directory
mandb: warning: /usr/share/man/man8/lmtp.8postfix.gz: bad symlink or ROFF `.so' request
Updating index cache for path `/usr/share/man/man7'. Wait...done.
Checking for stray cats under /usr/share/man...省略
3237 manual pages were added.
0 stray cats were added.
0 old database entries were purged.

root@ubuntu01:~# whatis ls
ls (1)               - list directory contents

root@ubuntu01:~# m

本文标签: man