man指令

1.man指令:(帮助手册)

   man man

 1   Executable programs or shell commands (shell指令用法,ls,cd....)

 2   System calls (functions provided by the kernel) (系统函数用法,open,close,read)

 3   Library calls (functions within program libraries) (库函数,printf...)

 4   Special files (usually found in /dev) (特殊设备)

      

5   File formats and conventions eg /etc/passwd (列表文件用法)

6   Games

7   Miscellaneous  (including  macro  packages  and  conventions), e.g.

  man(7), groff(7)

8   System administration commands (usually only for root)

 9   Kernel routines [Non standard]

man -f printf

安装中文帮助手册:

1.sudo apt-get install manpages-zh

2.把cman加入指令中:(修改 /home/gec/.bashrc )

alias cman='man -M /usr/share/man/zh_CN'

3.重启一下终端,或者配置一下

source /home/gec/.bashrc

4.使用cman去查看了

cman 2 open

上一篇:VM虚拟机设置中文


下一篇:linux test nginx