centos6.4使用man查找命令时,报错No manual entry for xxxx

前提:安装man的命令

yum -y install man

使用man报错

[root@localhost objs]# man fcntl
No manual entry for fcntl
[root@localhost objs]# cd
[root@localhost ~]# man fcntl
No manual entry for fcntl
[root@localhost ~]# which man
/usr/bin/man

解决报错的方法:

yum install man-pages

此时就ok了。

原文地址:https://www.cnblogs.com/davidwang456/p/3563812.html