centos man命令报错

来源:互联网 发布:java反转单链表递归 编辑:程序博客网 时间:2024/06/05 06:08

前提:安装man的命令

yum install -y man

使用man报错

[root@hadoop1 ~]# man 5 passwd
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N")

No entry for date in section 5 of the manual

解决报错的方法:

yum install man-pages

此时就ok了。

0 0
原创粉丝点击