centOS7 安装man中文手册

时间:2022-01-29 23:28:44
[root@localhost ~]# yum list | grep man.*zh
man-pages-zh-CN.noarch 1.5.-.el7 base
[root@localhost ~]# yum -y install man-pages-zh-CN.noarch
[root@localhost ~]# vi .bashrc
alias cman='man -M /usr/share/man/zh_CN'
[root@localhost ~]# source .bashrc

示例:

[root@localhost ~]# cman ls

转: http://blog.51cto.com/visitor/2067810