linux man手冊,linux man 后面的數字,man命令后面的數字

 2023-10-06 阅读 25 评论 0

摘要:Linux生態中有一個man page項目,就是聯機手冊,里面收錄了Linux系統各種命令程序函數等的使用說明。由于Linux系統生態內容龐大繁雜,每個學習這不可能什么都能記得住,因此隨時使用man命令查看聯機幫助,就成了一個日常的操作動作。我們也常常

Linux生態中有一個man page項目,就是聯機手冊,里面收錄了Linux系統各種命令程序函數等的使用說明。由于Linux系統生態內容龐大繁雜,每個學習這不可能什么都能記得住,因此隨時使用man命令查看聯機幫助,就成了一個日常的操作動作。

我們也常常在man命令的顯示中,看到ls(1),crontab(8),cron(5)......這種命令后面帶一個括號,括號里面還有數字。這個數字,表示引用的是man page的哪個section,知道了section,就可以通過man命令,直接顯示那個section的內容出來查看,比如:man 1 ls, man 8 crontab, man 5 cron。

linux man手冊、man page項目一共都有哪些section呢?

The table below shows the section numbers of the manual followed by

the types of pages they contain.

linux命令幫助怎么用、1 Executable programs or shell commands

2 System calls (functions provided by the kernel)

3 Library calls (functions within program libraries)

shell 數組長度、4 Special files (usually found in /dev)

5 File formats and conventions eg /etc/passwd

6 Games

manjaro常用命令,7 Miscellaneous (including macro packages and conventions), e.g.

man(7), groff(7)

8 System administration commands (usually only for root)

linux find命令,9 Kernel routines [Non standard]

A manual page consists of several sections.

默認情況,在man命令后面,如果不帶數字,man會將所有的section中能找到的內容都顯示出來。更多細節,請查看man man

shell數組、http://man7.org/linux/man-pages/

有的時候,能看到man n ...

n表示new,新的man page。

linux退出命令、還有p,比如:man(1p),p表示Posix標準。

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/2/122362.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息