우분투 명령과 같이 모호한 특정 C 함수가 있습니다 (예 : getopt). 이 함수들의 메뉴얼 페이지는 어떻게 볼 수 있습니까? 의심의 여지가 인터넷에서 쉽게 사용할 수 있지만 나는 터미널까지 가능한 한 멀리 떠나고 싶지 않습니다.우분투 맨 페이지 모호성
2
A
답변
4
man [section] name
(예 : man 3 getopt
) 섹션는 다음 중 하나가 될 수있는 곳 :
1 User Commands
2 System Calls
3 C Library Functions
4 Devices and Special Files
5 File Formats and Conventions
6 Games et. Al.
7 Miscellanea
8 System Administration tools and Deamons
자세한 내용은 man man
를 참조하십시오.
1
man 3 getopt
은 c 기능 정보를 제공합니다.
여기서는 man 1 getopt
또는 man getopt
은 명령 정보를 제공합니다.
페이지는 전통적으로 "name(section)
"이라는 표기법을 사용하여 참조됩니다 (예 : ftp(1)
). 시스템 호출, 사용자 명령 또는 매크로 패키지의 이름이 일치 할 때와 같은 페이지 이름이 설명서의 여러 섹션에 나타날 수 있습니다.
2
man 3 getopt
에는 C getopt의 맨 페이지가 표시됩니다.
는
1
man -wa getopt
man man
당신에게 getopt
에 대한 매뉴얼 페이지의 목록을 제공 참조 :
/usr/share/man/man1/getopt.1.bz2
/usr/share/man/man3/getopt.3.bz2
/usr/share/man/man3p/getopt.3p.bz2
또는 대안 man -f getopt
: 내 시스템에서, 그것이
getopt (1) - parse command options (enhanced)
getopt (3) - Parse command-line options
getopt [] (1) - parse command options (enhanced)
getopt [] (3) - Parse command-line options
getopt [] (3p) - command option parsing
당신이 할 수있는 그런 다음 파일 이름 (첫 번째 출력) 또는 괄호 사이에있는 숫자를 사용하여 올바른 매뉴얼 페이지를 선택하십시오 두 번째 출력에서) : 예 : man 1 getopt
또는 man 3 getopt
.
1
$ man 3 getopt
여기에서 3
은 섹션입니다.
Section Description
1. General commands
2. System calls
3. Library functions, covering in particular the C standard library
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
유닉스 :
$ man man
Sections.로 상태 : (BSD 유닉스와 리눅스에) 다음과 같이
설명서는 일반적으로 조직, 여덟 개 번호 섹션으로 나누어 져 System V는 다른 순서를 제외하고는 유사한 번호 체계를 사용합니다 :
Section Description
1. General commands
1M. System administration commands and daemons
2. System calls
3. C library functions
4. File formats and conventions
5. Miscellanea
6. Games and screensavers
7. Special files (usually devices, those found in /dev) and drivers
관련 문제
- 1. 우분투의 C++ 맨 페이지
- 2. 모호성
- 3. require.js를 페이지 맨 위나 맨 아래로 이동해야합니까?
- 4. tcsh가있는 컬러 맨 페이지?
- 5. div를 페이지 맨 아래로 내림
- 6. 현재 OS의 맨 페이지 원본.
- 7. 이클립스에서 맨 페이지 뷰어 사용하기
- 8. 페이지 맨 오른쪽에 내용이 표시됩니다.
- 9. 트리플 쿼트 이스케이프 모호성
- 10. 일부 SCM 모호성
- 11. BNF 문법 모호성
- 12. Struts2 속성 모호성
- 13. 클래스 및 모델의 모호성
- 14. 특정 메소드/유형 모호성
- 15. 오버로드 된 생성자 모호성
- 16. 부분 템플릿 전문화 모호성
- 17. EntityFramework.dll 대 System.Data.Entity.dll - 모호성
- 18. html로 전자 메일 모호성
- 19. BNF 문법의 모호성 처리하기
- 20. MS VC++ 컴파일러 모호성
- 21. PHP의 문자열 배열 모호성
- 22. C++ 추가 과부하 모호성
- 23. ANTLR 3 모호성
- 24. Word에서 모호성 Interop 코드
- 25. C# Generic Method 모호성
- 26. 스키마의 콘텐츠 모델 모호성
- 27. C++ 모호성 오버로드 문제
- 28. 자연어의 범위 모호성
- 29. C++ 템플릿 모호성
- 30. 쿼리에 모호성 추가
$ man 3 getopt,? – Morpfh