2009-06-07 2 views

답변

14

그건 그 man 페이지에 살고 매뉴얼 섹션 man man에서 :

The table below shows the section numbers of the manual followed by the types of pages they contain. 

    1 Executable programs or shell commands 
    2 System calls (functions provided by the kernel) 
    3 Library calls (functions within program libraries) 
    4 Special files (usually found in /dev) 
    5 File formats and conventions eg /etc/passwd 
    6 Games 
    7 Miscellaneous (including macro packages and conven- 
     tions), e.g. man(7), groff(7) 
    8 System administration commands (usually only for root) 
    9 Kernel routines [Non standard] 
1

그것은 manual section 의미 - 어떤에 '사람이 사람'에서

 
1 General commands 
2 System calls 
3 C library functions 
4 Special files (usually devices, those found in /dev) and drivers 
5 File formats and conventions 
6 Games and screensavers 
7 Miscellanea 
8 System administration commands and daemons 
4
 1 General commands (tools and utilities). 
     2 System calls and error numbers. 
     3 Libraries. 
     3p perl(1) programmer's reference guide. 
     4 Device drivers. 
     5 File formats. 
     6 Games. 
     7 Miscellaneous. 
     8 System maintenance and operation commands. 
     9 Kernel internals. 

합니다. 합리적인 유닉스 시스템.

7

이전에 제출 된 모든 답변이 정확합니다. - (1)은 온라인 맨 페이지 섹션을 참조합니다. 하지만 다음 질문도있을 수 있습니다 : 왜 수동 섹션을 참조하십시오?

대답은 동일한 단어 나 명령이 다른 섹션에 나타날 수 있다는 것입니다. 예를 들어 "passwd"는 암호를 변경하는 명령과/etc/passwd 파일을 모두 나타냅니다. 결과적으로, 이전에 대해 이야기하고 있다면, passwd (1)으로 작성해야하며 후자에 관해서는 passwd (5)으로 작성해야합니다.

남자 명령에는 처음부터 끝까지 검색하지 않고 특정 섹션을 사용하도록하는 방법이 있습니다. http://stackoverflow.com : 섹션 5 점 만점 항목을 표시하려면 섹션 아웃 1. 항목을 나타납니다 단지 남자 passwd를를 입력 내 유닉스 시스템 (맥)에서

man 5 passwd