免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: bug_xiaofei
打印 上一主题 下一主题

[函数] man 用法的疑问 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-07-16 17:12 |只看该作者
终于知道了man 还可以拿来man

论坛徽章:
0
12 [报告]
发表于 2008-07-16 20:19 |只看该作者
NAME
       man - format and display the on-line manual pages

SYNOPSIS
       man  [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file] [-M pathlist]
       [-P pager] [-B browser] [-H htmlpager] [-S section_list] [section] name ...

DESCRIPTION
       man formats and displays the on-line manual pages.  If  you  specify  section,  man
       only  looks in that section of the manual.  name is normally the name of the manual
       page, which is typically the name of a command, function,  or  file.   However,  if
       name  contains  a slash (/) then man interprets it as a file specification, so that
       you can do man ./foo.5 or even man /cd/foo/bar.1.gz.

       See below for a description of where man looks for the manual page files.

OPTIONS
       -C  config_file
              Specify the configuration file to use;  the  default  is  /usr/lib/man.conf.
              (See man.conf(5).)

       -M  path
              Specify  the  list  of  directories  to  search for man pages.  Separate the
              directories with colons.  An empty list is the same as not specifying -M  at
              all.  See SEARCH PATH FOR MANUAL PAGES.

       -P  pager
              Specify  which pager to use.  This option overrides the MANPAGER environment
              variable, which in turn overrides the PAGER variable.  By default, man  uses
              /usr/bin/less -is.

       -B     Specify  which  browser  to  use  on  HTML files.  This option overrides the
              BROWSER environment variable. By default, man uses /usr/bin/lynx,

论坛徽章:
0
13 [报告]
发表于 2008-07-16 23:15 |只看该作者
catman -w
man -k

论坛徽章:
0
14 [报告]
发表于 2008-07-17 19:17 |只看该作者

回复 #1 bug_xiaofei 的帖子

heh  google 搜一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP