man技巧

使用man時可以指定不同的section來瀏覽,各個section意義如下:

       0   Header files (usually found in /usr/include)                                             ----頭文件

       1   Executable programs or shell commands                                               -----shell命令,ls
       2   System calls (functions provided by the kernel)                                      ------系統調用,read,write
       3   Library calls (functions within program libraries)                                   -------庫調用
       4   Special files (usually found in /dev)                                                             
       5   File formats and conventions eg /etc/passwd
       6   Games
       7   Miscellaneous (including macro  packages  and  conven?
           tions), e.g. man(7), groff(7)
       8   System administration commands (usually only for root)

       9   Kernel routines [Non standard]


以上可以通過 man man 查看具體的信息



使用示例:


man 2 read

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章