日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux man

發(fā)布時(shí)間:2024/10/8 linux 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux man 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

man

man是manual命令的簡寫,上學(xué)時(shí)學(xué)過為手動(dòng)的用手的意思,這是名詞為說明書的意思

man man # 使用這個(gè)命令可以查看man的使用方法

以下為man的描述

DESCRIPTION
man is the system’s manual pager. Each page argument given to man is normally the name of a program, utility or function.
The manual page associated with each of these arguments is then found and displayed.
A section, if provided, will direct man to look only in that section of the manual.
The default action is to search in all of the available sections following a pre-defined order (“1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7” by default, unless overridden by the SECTION directive in /etc/manpath.config), and to show only the first page found, even if page exists in several sections.

中文:

  • man命令是系統(tǒng)說明書的頁面,man中的每個(gè)頁面都是常用的程序、工具或方法的名字
  • 然后找到并顯示與每個(gè)參數(shù)相關(guān)的頁面
  • 如果有section的話,man會(huì)只看section的頁面
  • 默認(rèn)是搜索所有可用的頁面
  • man的命令類型

    seqcontent_econtent_cexample
    1Executable programs or shell commands常用的系統(tǒng)命令man top
    2System calls (functions provided by the kernel)系統(tǒng)調(diào)用man 2 write
    3Library calls (functions within program libraries)man 3 printf
    4Special files (usually found in /dev)特殊文件,也就是/dev下的各種設(shè)備文件
    5File formats and conventions eg /etc/passwd文件的格式,比如passwd, 就會(huì)說明這個(gè)文件中各個(gè)字段的含義man 5 passwd
    6Games
    7Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)其他命令man 7 environ
    8System administration commands (usually only for root)only rootman 8 ifconfig

    因?yàn)橛行┟钤诤芏鄍age都有,比如write等,那么想要查詢指定的頁面命令必須加上頁面號(hào)

    sections

    Conventional section names include NAME, SYNOPSIS, CONFIGURATION, DESCRIPTION, OPTIONS, EXIT STATUS, RETURN VALUE, ERRORS, ENVIRONMENT, FILES, VERSIONS, CON-FORMING TO, NOTES, BUGS, EXAMPLE, AUTHORS, and SEE ALSO. namecontent
    NAME命令名稱
    SYNOPSIS簡介
    CONFIGURATION配置
    DESCRIPTION描述
    OPTIONS參數(shù)
    EXIT STATUS
    RETURN VALUE返回值
    ERRORS
    ENVIRONMENT
    FILES
    VERSIONS
    CONFORMING TO
    NOTES
    BUGS
    EXAMPLE實(shí)例
    AUTHORS作者
    SEE ALSO其他

    ref

    ref1

    總結(jié)

    以上是生活随笔為你收集整理的linux man的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。