man page 설치

yum install man-pages  # 페도라에서 맨 페이지 설치
apt-get install manpages-dev # 우분투에서 맨 페이지 설치
apt-get install manpages-posix-dev # 우분투에서 posix 함수 관련 맨 페이지 설치

Section 번호

맨 페이지에는 명령어 별로 섹션이 분류가 되있으며, 섹션 번호를 이용하면 원하는 명령어의 메뉴얼을 볼 수 있습니다. 섹션 번호는 다음과 같습니다.

Section 1 : user commands

Section 2 : system calls

Section 3 : C library functions

Section 4 : devices and special files

Section 5 : file formats and conventions

Section 8 : system administration tools and deamons

맨 페이지를 사용할 때 ” man [섹션 번호] command ” 와 같이 사용하면 원하는 특정 명령어를 찾을 수 있습니다.

vim에서는 커서를 함수이름에 위치 시킨 후 ” [섹션 번호] Shift + k ” 를 입력하면 맨 페이지로 이동합니다.

출처 : http://openracoon.org/?p=391

Posted by eoseontaek