Linux man 後面的數字含義及作用

來源:互聯網
上載者:User

平時我們開發中碰到陌生的命令或者函數,通常會找man來協助下,通過man後面加的數字可以看到關於命令或者函數更深層次的東西。

或者通過比較命令和函數加深瞭解你需要的知識。

如下是man後面的數字代表的含義。

Section 1
user commands (introduction)
Section 2
system calls (introduction)
Section 3
library functions (introduction)
Section 4
special files (introduction)
Section 5
file formats (introduction)
Section 6
games (introduction)
Section 7
conventions and miscellany (introduction)
Section 8
administration and privileged commands (introduction)
Section L
math library functions
Section N
tcl functions

中文含義如下:

             1 使用者命令, 可由任何人啟動的。

2 系統調用, 即由核心提供的函數。

3 常式, 即庫函數。

4 裝置, 即/dev目錄下的特殊檔案。

5 檔案格式描述, 例如/etc/passwd。

6 遊戲, 不用解釋啦!

7 雜項, 例如宏命令包、慣例等。

8 系統管理員工具, 只能由root啟動。

9 其他(Linux特定的), 用來存放核心例行程式的文檔。

n 新文檔, 可能要移到更適合的領域。

o 老文檔, 可能會在一段期限內保留。

l 本地文檔, 與本特定系統有關的。


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.