歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux 幫助man的使用

Linux 幫助man的使用

日期:2017/2/28 15:53:14   编辑:Linux教程

1、安裝linux glibc手冊

apt-get install manpages-dev

apt-get install manpages-posix-dev

2、man page 共分為以下幾個“section”

1 User commands
2 Programming interfaces for kernel system calls
3 Programming interfaces to the C library
4 Special files such as device nodes and drivers
5 File formats
6 Games and amusements such as screensavers
7 Miscellaneous
8 System administration commands

3、 whatis <cmd> 顯示命令的man page信息

例如:#whatis lsls (1) - list directory contents

4、查看幫助的方法

例如:man 3 printf ; 查看c語言函數printf的幫助

man 1 printf; 查看shell命令printf的幫助

Copyright © Linux教程網 All Rights Reserved