Linux使用中文版man(shell的帮助手册)

来源:互联网 发布:管理文件的数据库 编辑:程序博客网 时间:2024/06/03 01:31

有时候用man查看shell命令的用法时候由于本上里面的参数含义不懂,还要用非母语看,理解起来非常吃力。那么干脆用中文版的man吧:

1、安装man中文包
sudo apt-get install manpages-zh

2、备份man配置文件(要养成良好的习惯,特别经常做小白鼠的人,做此步骤是方便修复)
sudo cp /etc/manpath.config /etc/manpath.config.backup

3、修改man配置文件
sudo gedit /etc/manpath.config
将/etc/manpath.config 文件里所有/usr/share/man 路径,替换为/usr/share/man/zh_CN (好像不用修改也可以)

4、完成...这时man一下  嘎嘎,可以看到中文说明了

 

 

原址: http://blog.chinaunix.net/u/20483/showart_1854010.html 

原创粉丝点击