MAN(1) MAN(1) man - man [man ] [[] ...] ... man -k [apropos ] ... man -K [man ] [] ... man -f [whatis ] ... man -l [man ] ... man -w|-W [man ] page ... man man man 1 shell 2 () 3 () 4 ( /dev) 5 /etc/passwd 6 7 man(7)groff(7), man-pages(7) 8 ( root ) 9 [ NAME, (SYNOPSIS), (CONFIGURATION), (DESCRIPTION), (OPTIONS), (EXIT STATUS), (RETURN VALUE), (ERRORS), (ENVIRONMENT), (FILES), (VERSIONS), (STANDARDS), (NOTES), (BUGS), (EXAMPLE), (AUTHORS), (SEE ALSO). (SYNOPSIS) [-abc] "[ ]" / -a|-b "|" ... [] ... "[ ]" man (pattern) (SYNOPSIS) man ls () ls man man.7 7 man "man 7 man" man 'man(7)' 7 man "man 7 man" shell man -a intro intro man -t bash | lpr -Pps bash troff groff ps groff PostScriptman --help -t man -l -Tdvi ./foo.1x.gz > ./foo.1x.dvi nroff ./foo.1x.gz (dvi) -T stdout xdvi dvips PostScript man -k printf printf apropos printf. man -f smail smail whatis smail. man man "catch all" $MANOPTman $MANOPT $MANOPT -D man ""$MANOPT nroff(1) /usr/share/man cat pages manpath(5) locale $LC_MESSAGES$LANG POSIX <>[_<>[.<>[,<>]]] () $MANSECT /etc/man_db.conf SECTION 1 1p n l 8 3 3p 0 0p 2 3type 5 4 9 6 7 pager -P -p $MANROFFSEQ -p nroff '\" <> -p (nroff [tg]roff -t) man mandb_nfmt ( mandb_tfmt -t) -T -E / $MANOPT -C , --config-file= ~/.manpath -d, --debug -D, --default man $MANOPT -D --warnings[=] groff "mac" groff "!"--warnings=mac,!break "mac""break" info groff "" -f, --whatis whatis() whatis(1) -k, --apropos apropos apropos -K, --global-apropos ()( --regex ) "\-" -l, --local-file "" nroff cat "-" man "/" -w, --where, --path, --location nroff -a -W, --where-cat, --location-cat cat -a cat -w -W cat -w-W -a -c, --catman catman -R , --recode= manconv(1) man-recode(1) -L , --locale= man C setlocale(3) $LC_MESSAGES $LANG man -m [,...], --systems=[,...] NewOS -m NewOS man $SYSTEM -M , --manpath= manpath man manpath $SYSTEM manpath man-db ("") -l -S , -s , --sections= list $MANSECT ( -s System V ) -e sub-extension, --extension=sub-extension Tcl () exit(3)Tcl l "extension" exit(3tcl)man exit(3) exit(3tcl) man sub-extension man -e tcl *tcl -i, --ignore-case -I, --match-case --regex apropos(1) "" -a --wildcard shell apropos(1) --wildcard "" -a --names-only --regex --wildcard whatis(1) -a, --all man man -u, --update man mandb(8) --no-subpages man $ man -aw git diff /usr/share/man/man1/git-diff.1.gz --no-subpages $ man -aw --no-subpages git diff /usr/share/man/man1/git.1.gz /usr/share/man/man3/Git.3pm.gz /usr/share/man/man1/diff.1.gz -P , --pager= man less less cat $MANPAGER $PAGER -f -k shell () -r , --prompt= less man Manual page name(sec) line x name sec x $LESS -r $MAN_PN"("")" \ Manual\ page\ \$MAN_PN\ ?ltline\ %lt?L/%L.: byte\ %bB?s/%s..?\ (END):?pB\ %pB\\%.. (press h for help or q to quit) less(1) shell $ less man -ix8 $MANLESS -7, --ascii 7 ascii(7) GNU nroff latin1(7) ascii latin11 ascii latin1 GNU nroff latin1(7) latin1 ascii ------------------------------------------------ 255 - - 267 o o 264 ' ' 327 x x latin1 latin1 latin1 ascii man latin1 latin1 -t, -H, -T, -Z GNU nroff -E , --encoding= nroff asciilatin1 utf8 UTF-8 --no-hyphenation, --nh nroff () nroff nroff "\%""\%" --no-justification, --nj nroff "ragged-right"() nroff nroff ".na"".nf"".fi"".ad" -p , --preprocessor= nroff troff/groff eqn (e), grap (g), pic (p), tbl (t), vgrind (v), refer (r) $MANROFFSEQ zsoelim -t, --troff %troff stdout -H-T -Z -T[], --troff-device[=] This option is used to change groff (or possibly troff's) output to be suitable for a device other than the default. It implies -t. Examples (as of groff 1.23.0) include dvi, latin1, pdf, ps, utf8, X75 and X100. -H[], --html[=] groff HTML browser ()$BROWSER ( lynx) -t GNU troff -X[dpi], --gxditview[=dpi] gxditview groff dpi (/) 7575-12100 100-12 75-12 12 X75X75-12X100 X100-12 -T -Z, --ditroff groff troff %troff groff groff -t -?, --help --usage -V, --version 0 1 2 3 16 // MANPATH $MANPATH manpath(5) MANROFFOPT man nrofftroff groff $MANROFFOPT For example, MANROFFOPT=-P-i tells the formatter to use italic text (which is only supported by some terminals) rather than underlined text. MANROFFSEQ $MANROFFSEQ MANSECT $MANSECT()"1 1p n l 8 3 3p 0 0p 2 3type 5 4 9 6 7" /etc/man_db.conf SECTION MANPAGER, PAGER $MANPAGER $PAGER ( $MANPAGER) less less cat shell () MANLESS $MANLESS less -r ( $MAN_PN )"my prompt string" $MANLESS `-Psmy prompt string' -r BROWSER $BROWSER() man --html %s groff HTML %% (%)%c (:) SYSTEM $SYSTEM -m MANOPT $MANOPT man man $MANOPT MANWIDTH $MANWIDTH( $COLUMNS ioctl(2) 80 )Cat 66 80 MAN_KEEP_FORMATTING () $MAN_KEEP_FORMATTING man MAN_KEEP_STDERR ()groff () $MAN_KEEP_STDERR MAN_DISABLE_SECCOMP Linux man seccomp(2) $MAN_DISABLE_SECCOMP PIPELINE_DEBUG $PIPELINE_DEBUG "1" man LANG, LC_MESSAGES $LANG / $LC_MESSAGES man () setlocale(3) /etc/man_db.conf man-db /usr/share/man POSIX.1-2001, POSIX.1-2008, POSIX.1-2017. apropos(1), groff(1), less(1), manpath(1), nroff(1), troff(1), whatis(1), zsoelim(1), manpath(5), man(7), catman(8), mandb(8) info(1) HTML 1990, 1991 - John W. Eaton (jwe@che.utexas.edu) 19921223: Rik Faith (faith@cs.unc.edu) Willem Kasdorp (wkasdo@nikhefk.nikef.nl) bug 1994430 - 2000223: Wilf. (G.Wilford@ee.surrey.ac.uk) 19961030 - 2001330: Fabrizio Polacco Debian 2001331 - : Colin Watson man-db BUGS https://gitlab.com/man-db/man-db/-/issues https://savannah.nongnu.org/bugs/?group=man-db 2.12.1 2024-04-05 MAN(1)