你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux 帮助man的使用

[日期:2012-04-12] 来源:Linux社区  作者:hengshan [字体:大 中 小]

1、安装linux glibc手册

apt-get install manpages-dev

apt-get install manpages-posix-dev

2、man page 共分为以下几个“section”

1 User commands
2 Programming interfaces for kernel system calls
3 Programming interfaces to the C library
4 Special files such as device nodes and drivers
5 File formats
6 Games and amusements such as screensavers
7 Miscellaneous
8 System administration commands

3、 whatis <cmd> 显示命令的man page信息

例如:#whatis lsls (1)               - list directory contents

4、查看帮助的方法

例如:man 3 printf ; 查看c语言函数printf的帮助

man 1 printf; 查看shell命令printf的帮助

linux
相关资讯       Linux资料 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款