V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
likuku
V2EX  ›  FreeBSD

man 1~9,n 的含义

  •  
  •   likuku · 2012-11-22 14:41:42 +08:00 · 4869 次点击
    这是一个创建于 4145 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在freebsd官网的man搜索查询页面( http://www.freebsd.org/cgi/man.cgi )发现man后面的数字含义:

    在看 man 手册时,也常会看到底部类似相关引用 crontab(5),数字含义也是:

    1 - General Commands
    2 - System Calls
    3 - Subroutines
    4 - Special Files
    5 - File Formats
    6 - Games
    7 - Macros and Convention
    8 - Maintenance Commands
    9 - Kernel Interface
    n - New Commands

    比如查 crontab 的文件格式可以:

    man 5 crontab
    4 条回复    1970-01-01 08:00:00 +08:00
    ch_linghu
        1
    ch_linghu  
       2012-11-22 15:33:53 +08:00
    这个查 man man 就能看到。
    likuku
        2
    likuku  
    OP
       2012-11-22 16:05:58 +08:00
    @ch_linghu man man 真的查不到 这些 数字的定义列表~
    ch_linghu
        3
    ch_linghu  
       2012-11-22 16:38:34 +08:00
    好吧,看来是FreeBSD和Linux的区别。我在几个版本的Linux上试了,都有的。
    likuku
        4
    likuku  
    OP
       2012-11-22 17:11:28 +08:00
    @ch_linghu 额,果然 linux 下 man man 就有的了...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5291 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:12 · PVG 17:12 · LAX 02:12 · JFK 05:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.