man 手册的种类

2020-04-03  本文已影响0人  oasis_m

声明:所有文章只作为学习笔记用,转载非原创

man 与 info
info 的使用 https://cloud.tencent.com/developer/article/1540147

    Linux命令很多,函数也很多,记不住怎么办,查man手册

    man 1 xxx   ——  查询shell命令,查询用户命令

    man 2 xxx   ——  查询系统调用,API

    man 3 xxx   ——  查询库函数

    man 4 xxx   ——  查询设备文件和特殊文件

   man 5 xxx   ——  查询配置文件及格式
 
原文链接:https://blog.csdn.net/LZPRO/java/article/details/89239939
    #section
    1 - commands(普通的命令)
    2 - system calls(系统调用)
    3 - library calls(库函数)
    4 - special files(特殊文件:/dev下设备文件)
    5 - file formats and convertions(文件格式)
    6 - games for linux(游戏和娱乐)
    7 - macro packages and conventions(杂项)
    8 - system management commands(管理员命令)
    9 - 其他(Linux特定, 用来存放内核例行程序的文档)

 $ man -k printf
 $ man -f printf 同 $ whatis printf
 $ info free #手册


  man页面 的 1p 就是  POSIX的标准的 接口。

 https://blog.csdn.net/foreverzili/article/details/81501408 
 https://blog.csdn.net/ac_dao_di/article/details/54718710?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1 

  标题                    描述
  NAME                命令名称和用途(摘要)
  SYNOPSIS          命令语法(摘要)
  DESCRIPTION           详细描述命令作用,及其 选项、参数的作用
  OPTIONS               选项和参数
  AUTHOR                作者
  COPYRIGHT         版权
  SEE ALSO          其他参考
  BUGS              bugs



上一篇 下一篇

猜你喜欢

热点阅读