📄 man.1
字号:
.TH MAN 1.SH NAMEman \- display online manual pages.SH SYNOPSIS.B man.RB [ \-antkf ].RB [ \-M.IR path ].RB [ \-s.IR section ].IR title " ...".SH DESCRIPTION.B Mandisplays the online manual pages for the specified titles in the specifiedsections. The sections are as follows:.PP.TP.B 1User Commands.brGeneric commands such as.BR ls ,.BR cp ,.BR grep ..TP.B 2System Calls.brLow level routines that directly interface with the kernel..TP.B 3Library Routines.brHigher level C language subroutines..TP.B 4Device Files.brDescribes devices in.BR /dev ..TP.B 5File Formats.brFormats of files handled by various utilities and subroutines..TP.B 6Games.brIt's not \s-2UNIX\s+2 without an adventure game..TP.B 7Miscellaneous.brMacro packages, miscellaneous tidbits..TP.B 8System Utilities.brCommands for the System Administrator..TP.B 9Documents.brLarger manuals explaining some commands in more detail..PP(If you are new to Minix then try.BR "man hier" ,it will show you around the file system and give you many pointers to othermanual pages.).PPBy default,.B manwill try the following files in a manual page directory for the command.BR "man \-s 1 ls" :.PP.RS.ft B.nfcat1/ls.1cat1/ls.1.Zman1/ls.1man1/ls.1.Z.fi.ft P.RE.PPFiles in the man[1\-8] directories are formatted with.BR "nroff \-man" .Those in man9 are formatted with.BR "nroff \-mnx" .Files in the cat? directories are preformatted. Files with names ending in.B .Zare decompressed first with.B zcat(see.BR compress (1)).The end result is presented to the user using a pager if displaying onthe screen..PPFor each manual page directory in its search path,.B manwill first try all the subdirectories of the manual page directory forthe files above, and then the directory itself. The directory.B /usr/mancontains the standard manual pages, with manual pages for optionalpackages installed in a subdirectory of /usr/man, with the samestructure as /usr/man. The directory.B /usr/local/mancontains manual pages for locally added software. By default/usr/local/man is searched first, then /usr/man..PPA title is not simply used as a filename, because several titles mayrefer to the same manual page. Each manual page directory contains adatabase of titles in the.BR whatis (5)file that is created by.BR makewhatis (8)from the NAME sections of all the manual pages. A title is searched inthis database and the first title on a whatis line is used as a filename..SH OPTIONSThe options may be interspersed with the titles to search, and take effectfor the titles after them..TP.B \-aShow all the manual pages or one line descriptions with the given title inall the specified sections in all the manual directories in the search path.Normally only the first page found is shown..TP.B \-nUse.B nroff \-manto format manual pages (default)..TP.B \-tUse.B troff \-manto format manual pages..TP.B \-fUse.BR whatis (1)to show a one line description of the title from the.BR whatis (5)file..TP.B \-kUse.BR apropos (1)to show all the one line descriptions of the title anywhere in the.BR whatis (5)files (implies.BR \-a )..TP.BI \-M " path"Use.I pathas the search path for manual directories..TP.BI \-s " section".I Sectionis the section number the page is to be found in, or a comma separatedlist of sections to use. Normally all sections are searched. Thesearch is always in numerical order no matter what your section list lookslike. A single digit is treated as a section number without the.B \-sfor compatibility with BSD-style.B mancommands..SH ENVIRONMENT.TP 15n.B MANPATHThis is a colon separated list of directories to search for manualpages, by default.BR /usr/local/man:/usr/man ..TP.B PAGERThe program to use to display the manual page or one line descriptions onthe screen page by page. By default.BR more ..SH FILES.TP 25n/usr/man/whatisOne of the.BR whatis (5)databases..SH "SEE ALSO".BR nroff (1),.BR troff (1),.BR more (1),.BR whatis (1),.BR makewhatis (1),.BR catman (1),.BR whatis (5),.BR man (7)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -