맨 섹션 (man sections)


문제 설명

맨 섹션 (man sections)

맨 페이지의 특정 섹션에 어떻게 액세스합니까?


참조 솔루션

방법 1:

Put the section number in front of the item you want to reference. For example, to access the sysctl function from the library section, you can write:

man 3 sysctl

and to access the sysctl tool from the system administrator's section, you would write:

man 8 sysctl

방법 2:

To add to what Jason said: if you're not sure what section something is in, you can also see all of the man pages for a given topic by typing

man ‑a topic

This is useful for topics such as printf, for which there is both a command and a C function that do similar things.

방법 3:

use the ‑s flag, for example:

man ‑s 2 read

you might like to look at

man intro

to get an idea of what's where.

HTH.

cheers,

Rob

(by kajacoJason CocoAdam RosenfieldRob Wells)

참조 문서

  1. man sections (CC BY‑SA 2.5/3.0/4.0)

#manpage






관련 질문

터미널에서 XCode docset 문서 보기 (View XCode docset docs from terminal)

Linux/Darwin/RST/POD가 아닌 STDIN의 MAN 형식 파일 또는 변수 표시 (Show MAN formatted file or variable from STDIN in Linux/Darwin / NOT with RST/POD)

mac 터미널에서 중복된 결과를 반환하는 "man" 명령 ("man" command returning duplicated results in mac terminal)

맨페이지에서 Unix 명령 이름 뒤에 표시된 괄호 안의 숫자는 무엇을 의미합니까? (What does the number in parentheses shown after Unix command names in manpages mean?)

맨페이지 scandir() 프로토타입 이상함 (Manpage scandir() prototype weirdness)

일부 Linux 시스템 호출에 두 개의 매뉴얼 페이지가 있는 이유는 무엇입니까? (Why do some Linux system calls have two man pages?)

brew에 의해 업그레이드된 nmap 이후 man nmap은 횡설수설합니다. (man nmap goes gibberish after nmap upgraded by brew)

남자: /usr/share/man/man3/std::basic_iostream.3cxx를 열 수 없습니다: 해당 파일이나 디렉터리가 없습니다 (man: can't open /usr/share/man/man3/std::basic_iostream.3cxx: No such file or directory)

매뉴얼 페이지의 개요에 나열된 헤더 중 일부 또는 전체를 포함해야 합니까? (Should I include any or all of the headers listed in the synopsis of a man page?)

맨 섹션 (man sections)

공통 lisp에 대한 Man 또는 javadoc 스타일 문서 (Man or javadoc-style documentation for common lisp)

Texinfo 문서는 어디에서 찾을 수 있습니까? (Where can I find Texinfo documentation?)







코멘트