《NetBSD指南-5.2.man命令》

NetBSD用户指南中文版、NetBSD pkgsrc指南中文版...

版主: lionux

主题已锁定
头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

《NetBSD指南-5.2.man命令》

帖子 leo » 2010-03-02 14:37

如果你以前从未使用过类Unix系统, 你现在最好的朋友是man 命令, 它用来显示用户手册: NetBSD的用户手册是您能找到的最好最细致的,尽管它们很专业。
启动一个新的NetBSD系统后,最好的起点是 afterboot(8) 手册。 它涵盖了很多详尽的信息以及有用的配置。
man name 显示“name” 命令的用户手册,而 man -k name 显示一个有关 “name” 的用户手册清单。(你也可以使用 apropos 命令)。
要学习 man 命令的基本用法, 键入:
# man man这个手册分成9个小节, 不仅包含了有关命令的基本信息而且描述了NetBSD系统的一些基本特性和结构。 例如, 我们看一下 hier(7) 的用户手册, 它描述了NetBSD使用的文件系统的布局细节。
# man hier其它相似的手册是 release(7)pkgsrc(7)。 用户手册每小节全有一个 intro(8) 手册页面 ,描述了它的内容。 例如, 试一下:

# man 8 intro用户手册根据其记录的内容分成几个小节:
  1. general commands (tools and utilities), see intro(1)
  2. system calls and error numbers, see intro(2)
  3. C libraries, see intro(3)
  4. special files and hardware support, see intro(4)
  5. file formats, see intro(5)
  6. games, see intro(6)
  7. miscellaneous information pages, see intro(7)
  8. system maintenance and operation commands, see intro(8)
  9. kernel internals, see intro(9)
同一话题可能出现在手册的几个小节中; 要浏览某一小节,可以将小节数作为man命令的参数。例如, time 出现在第一小节(the time user command), 第三小节(the time function of the C library) 和 第九小节(the time system variable),要看有关 the time C function的相关内容 , 键入:
# man 3 time

要查看所有的相关页面:
# man -w time# man -a time

主题已锁定

在线用户

正浏览此版面之用户: 没有注册用户 和 27 访客