Original address: Ubuntu man command help How to set the Chinese version
When we use commands in Ubuntu, we often need to use the Man command to help you see the meaning of the command parameters. But our English level is different, so a lot of English explanations are not understood at all.
[Email protected]:~# man VI
For example, using this command to view VI's help, plain English is difficult to understand:
In fact, Ubuntu has a man's Chinese bag, only a few lines of command installation configuration can display Chinese help. The command is as follows:
Apt-get install manpages-zhvi/etc/manpath.config:1, $s #/usr/share/man#/usr/share/man/zh_cn#g
The above 3 lines of command can be done.
First command: Download the Chinese pack for man help
Second command: Edit the man's configuration file with VI
The third command: Replace all/usr/share/man with/USR/SHARE/MAN/ZH_CN,
: 1, $s #/usr/share/man#/usr/share/man/zh_cn#g
Description
1. When editing a file with the VI command, press the: Key before using the command, then enter command 1, $s #/usr/share/man#/usr/share/man/zh_cn#g, enter
2. Replace line 1th to the last line with all/usr/share/man as/USR/SHARE/MAN/ZH_CN
Once this is configured, run the command again to see the Chinese help
[Email protected]:~# man VI
Ubuntu man commands help How to set up the Chinese version