man / info / help
显示帮助页面.

语法

  man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file]
         [-M pathlist] [-P pager] [-B browser] [-H htmlpager] [-S section_list]
            [section] name ... 

选项:




   -C config_file  要使用的配置文件; 默认值为 /etc/man.config. (See man.config(5).) 

   -M path         搜索手册页的目录列表
                  

   -P pager        指定内容时使用分页程序

   -B              在HTML文件上使用哪个浏览器。此选项覆盖浏览器环境变量
                   默认情况下, man使用/usr/bin/less-is,

   -H              指定将HTML文件呈现为文本的命令。此选项会覆盖HTMLPAGER环境变量
                   默认情况下,man使用 /bin/cat,

   -S section_list List 是一个以冒号分隔的要搜索的手动部分列表。此选项会覆盖MANSECT环境变量

   -a              在所有的man帮助手册中搜索。

   -c              重新格式化源

   -d              实际上不显示手册页,而是打印调试信息。

   -D              显示和打印调试信息。

   -f              相当于whatis

   -F
   --preformat     仅限格式 - 不显示

   -h              打印帮助信息并退出

   -k              相当于apropos

   -K              在*all*手册页中搜索指定的字符串。
   -m system       根据给定的系统名称指定要搜索的另一组手册页

   -p string       指定在nroff或troff之前运行的预处理器序列。
                   并不是所有的安装都有完整的预处理器。
                   一些用于指定它们的预处理器和字母:
                    eqn (e)、grap (g)、pic (p)、tbl (t)、vgrind (v)、refer (r)。
                  此选项覆盖MANROFFSEQ环境变量。

   -t              Use /usr/bin/groff -Tps -mandoc 格式化手册页,将输出传递给stdout
                 
   -w
   --path          实际上并不显示手册页,但要打印要格式化或显示的文件的位置

   -W              与-w相似,但每行打印一个文件名,没有附加信息。


查看下一页
查看下一行
退出

例子

$ man intro

$ man 1 rsync

$ man rsync

要获取手册页的纯文本版本,没有退格和下划线,请尝试

$ man foo | col -b> foo.mantxt

man 命令实例:

linux命令:man2txt() { man "$@" | col -bx ;} ;} -bx col | "$@" man { man2txt() man2txt() { man "$@" | col -bx ;}rootopen.com
linux命令:man2txt() { man "$@" | col -bx ;} ;} -bx col | "$@" man { man2txt() man2txt() { man "$@" | col -bx ;}rootopen.com
2018-10-17 23:30:39

linux命令:man command-name command-name man man command-namerootopen.com
linux命令:man command-name command-name man man command-namerootopen.com
2018-08-17 22:26:20

linux命令:man -k <keyword> <keyword> -k man man -k <keyword>rootopen.com
linux命令:man -k <keyword> <keyword> -k man man -k <keyword>rootopen.com
2018-05-05 04:30:48

linux命令:man -t UNIX_COMMAND | open -f -a preview preview -a -f open | UNIX_COMMAND -t man man -t UNIX_COMMAND | open -f -a previewrootopen.com
linux命令:man -t UNIX_COMMAND | open -f -a preview preview -a -f open | UNIX_COMMAND -t man man -t UNIX_COMMAND | open -f -a previewrootopen.com
2018-03-16 05:56:48

linux命令:manview() { lynx -dump -accept_all_cookies 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" | less; } } less; | 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" -accept_all_cookies -dump lynx { manview() manview() { lynx -dump -accept_all_cookies 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" | less; }rootopen.com
linux命令:manview() { lynx -dump -accept_all_cookies 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" | less; } } less; | 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" -accept_all_cookies -dump lynx { manview() manview() { lynx -dump -accept_all_cookies 'http://www.csuglab.cornell.edu/cgi-bin/adm/man.cgi?section=all&topic='"$1" | less; }rootopen.com
2018-02-05 23:01:48

linux命令:man -t man | lp lp | man -t man man -t man | lprootopen.com
linux命令:man -t man | lp lp | man -t man man -t man | lprootopen.com
2018-03-03 11:35:48

linux命令:man ascii ascii man man asciirootopen.com
linux命令:man ascii ascii man man asciirootopen.com
2018-05-31 23:18:48

linux命令:man beep | sed -e '1,/Note/d; /BUGS/,$d' | awk '{print $2}' | xargs -IX sudo beep -f X -l 500 500 -l X -f beep sudo -IX xargs | $2}' '{print awk | /BUGS/,$d' '1,/Note/d; -e sed | beep man man beep | sed -e '1,/Note/d; /BUGS/,$d' | awk '{print $2}' | xargs -IX sudo beep -f X -l 500rootopen.com
linux命令:man beep | sed -e '1,/Note/d; /BUGS/,$d' | awk '{print $2}' | xargs -IX sudo beep -f X -l 500 500 -l X -f beep sudo -IX xargs | $2}' '{print awk | /BUGS/,$d' '1,/Note/d; -e sed | beep man man beep | sed -e '1,/Note/d; /BUGS/,$d' | awk '{print $2}' | xargs -IX sudo beep -f X -l 500rootopen.com
2018-02-25 20:09:48

linux命令:man ls | col -b > ~/Desktop/man_ls.txt ~/Desktop/man_ls.txt > -b col | ls man man ls | col -b > ~/Desktop/man_ls.txtrootopen.com
linux命令:man ls | col -b > ~/Desktop/man_ls.txt ~/Desktop/man_ls.txt > -b col | ls man man ls | col -b > ~/Desktop/man_ls.txtrootopen.com
2018-03-10 15:57:48

linux命令:man fetchmail | perl -ne 'undef $/; print $1 if m/^.*?(-k \| --keep.*)-K \| --nokeep.*$/smg' --nokeep.*$/smg' \| --keep.*)-K \| m/^.*?(-k if $1 print $/; 'undef -ne perl | fetchmail man man fetchmail | perl -ne 'undef $/; print $1 if m/^.*?(-k \| --keep.*)-K \| --nokeep.*$/smg'rootopen.com
linux命令:man fetchmail | perl -ne 'undef $/; print $1 if m/^.*?(-k \| --keep.*)-K \| --nokeep.*$/smg' --nokeep.*$/smg' \| --keep.*)-K \| m/^.*?(-k if $1 print $/; 'undef -ne perl | fetchmail man man fetchmail | perl -ne 'undef $/; print $1 if m/^.*?(-k \| --keep.*)-K \| --nokeep.*$/smg'rootopen.com
2018-02-21 18:35:48

linux命令:man -Tps ls >> ls_manpage.ps && ps2pdf ls_manpage.ps ls_manpage.ps ps2pdf && ls_manpage.ps >> ls -Tps man man -Tps ls >> ls_manpage.ps && ps2pdf ls_manpage.psrootopen.com
linux命令:man -Tps ls >> ls_manpage.ps && ps2pdf ls_manpage.ps ls_manpage.ps ps2pdf && ls_manpage.ps >> ls -Tps man man -Tps ls >> ls_manpage.ps && ps2pdf ls_manpage.psrootopen.com
2018-06-02 00:15:48

linux命令:man perlcheat | col -b > perlcheat.txt perlcheat.txt > -b col | perlcheat man man perlcheat | col -b > perlcheat.txtrootopen.com
linux命令:man perlcheat | col -b > perlcheat.txt perlcheat.txt > -b col | perlcheat man man perlcheat | col -b > perlcheat.txtrootopen.com
2018-03-21 11:50:48

linux命令:man -P cat ls > man_ls.txt man_ls.txt > ls cat -P man man -P cat ls > man_ls.txtrootopen.com
linux命令:man -P cat ls > man_ls.txt man_ls.txt > ls cat -P man man -P cat ls > man_ls.txtrootopen.com
2017-12-30 10:52:48

linux命令:man -t man | ps2pdf - > man.pdf man.pdf > - ps2pdf | man -t man man -t man | ps2pdf - > man.pdfrootopen.com
linux命令:man -t man | ps2pdf - > man.pdf man.pdf > - ps2pdf | man -t man man -t man | ps2pdf - > man.pdfrootopen.com
2018-06-01 12:09:48

linux命令:man 5 crontab crontab 5 man man 5 crontabrootopen.com
linux命令:man 5 crontab crontab 5 man man 5 crontabrootopen.com
2018-03-20 00:41:48

linux命令:man bash | col -b -b col | bash man man bash | col -brootopen.com
linux命令:man bash | col -b -b col | bash man man bash | col -brootopen.com
2018-01-13 20:56:48

linux命令:man hier hier man man hierrootopen.com
linux命令:man hier hier man man hierrootopen.com
2018-02-16 10:58:48

linux命令:man <COMMAND> | less +'/pattern' +'/pattern' less | <COMMAND> man man <COMMAND> | less +'/pattern'rootopen.com
linux命令:man <COMMAND> | less +'/pattern' +'/pattern' less | <COMMAND> man man <COMMAND> | less +'/pattern'rootopen.com
2018-04-11 23:35:48

linux命令:man ettercap ettercap man man ettercaprootopen.com
linux命令:man ettercap ettercap man man ettercaprootopen.com
2018-03-27 22:30:48

linux命令:man intro intro man man introrootopen.com
linux命令:man intro intro man man introrootopen.com
2017-12-30 01:04:48

linux命令:man !! !! man man !!rootopen.com
linux命令:man !! !! man man !!rootopen.com
2018-01-15 06:48:48

linux命令:man !!:0 !!:0 man man !!:0rootopen.com
linux命令:man !!:0 !!:0 man man !!:0rootopen.com
2018-01-08 18:07:48

linux命令:man $(ls /bin | sed -n $((RANDOM % $(ls /bin | wc -l) + 1))p) 1))p) + -l) wc | /bin $(ls % $((RANDOM -n sed | /bin $(ls man man $(ls /bin | sed -n $((RANDOM % $(ls /bin | wc -l) + 1))p)rootopen.com
linux命令:man $(ls /bin | sed -n $((RANDOM % $(ls /bin | wc -l) + 1))p) 1))p) + -l) wc | /bin $(ls % $((RANDOM -n sed | /bin $(ls man man $(ls /bin | sed -n $((RANDOM % $(ls /bin | wc -l) + 1))p)rootopen.com
2018-05-12 06:52:48

linux命令:man $(/bin/ls /bin | awk '{ cmd[i++] = $0 } END { srand(); print cmd[int(rand()*length(cmd))]; }') }') cmd[int(rand()*length(cmd))]; print srand(); { END } $0 = cmd[i++] '{ awk | /bin $(/bin/ls man man $(/bin/ls /bin | awk '{ cmd[i++] = $0 } END { srand(); print cmd[int(rand()*length(cmd))]; }')rootopen.com
linux命令:man $(/bin/ls /bin | awk '{ cmd[i++] = $0 } END { srand(); print cmd[int(rand()*length(cmd))]; }') }') cmd[int(rand()*length(cmd))]; print srand(); { END } $0 = cmd[i++] '{ awk | /bin $(/bin/ls man man $(/bin/ls /bin | awk '{ cmd[i++] = $0 } END { srand(); print cmd[int(rand()*length(cmd))]; }')rootopen.com
2018-03-14 03:32:48

linux命令:man $(ls /bin | shuf | head -1) -1) head | shuf | /bin $(ls man man $(ls /bin | shuf | head -1)rootopen.com
linux命令:man $(ls /bin | shuf | head -1) -1) head | shuf | /bin $(ls man man $(ls /bin | shuf | head -1)rootopen.com
2018-01-17 18:35:48

linux命令:man $(ls -1 /usr/share/man/man?/ | shuf -n1 | cut -d. -f1) -f1) -d. cut | -n1 shuf | /usr/share/man/man?/ -1 $(ls man man $(ls -1 /usr/share/man/man?/ | shuf -n1 | cut -d. -f1)rootopen.com
linux命令:man $(ls -1 /usr/share/man/man?/ | shuf -n1 | cut -d. -f1) -f1) -d. cut | -n1 shuf | /usr/share/man/man?/ -1 $(ls man man $(ls -1 /usr/share/man/man?/ | shuf -n1 | cut -d. -f1)rootopen.com
2018-05-27 10:43:48

linux命令:man !! !! man man !!rootopen.com
linux命令:man !! !! man man !!rootopen.com
2017-12-28 01:22:48

linux命令:man -t manpage | ps2pdf - filename.pdf filename.pdf - ps2pdf | manpage -t man man -t manpage | ps2pdf - filename.pdfrootopen.com
linux命令:man -t manpage | ps2pdf - filename.pdf filename.pdf - ps2pdf | manpage -t man man -t manpage | ps2pdf - filename.pdfrootopen.com
2018-01-01 23:53:48

linux命令:man emacs emacs man man emacsrootopen.com
linux命令:man emacs emacs man man emacsrootopen.com
2018-04-15 02:44:48

linux命令:manswitch() { man $1 | grep -A5 "^ *\-$2"; } } *\-$2"; "^ -A5 grep | $1 man { manswitch() manswitch() { man $1 | grep -A5 "^ *\-$2"; }rootopen.com
linux命令:manswitch() { man $1 | grep -A5 "^ *\-$2"; } } *\-$2"; "^ -A5 grep | $1 man { manswitch() manswitch() { man $1 | grep -A5 "^ *\-$2"; }rootopen.com
2018-06-04 11:10:48

linux命令:manswitch () { man $1 | less -p "^ +$2"; } } +$2"; "^ -p less | $1 man { () manswitch manswitch () { man $1 | less -p "^ +$2"; }rootopen.com
linux命令:manswitch () { man $1 | less -p "^ +$2"; } } +$2"; "^ -p less | $1 man { () manswitch manswitch () { man $1 | less -p "^ +$2"; }rootopen.com
2018-01-05 23:35:48

linux命令:man () { if [[ $(type ${1}) =~ "is a shell builtin" ]]; then; /usr/bin/man -P "/usr/bin/less -iRs --pattern=\"^ *${1}\"" bash; else; /usr/bin/man ${1}; return; fi; } } fi; return; ${1}; /usr/bin/man else; bash; *${1}\"" --pattern=\"^ -iRs "/usr/bin/less -P /usr/bin/man then; ]]; builtin" shell a "is =~ ${1}) $(type [[ if { () man man () { if [[ $(type ${1}) =~ "is a shell builtin" ]]; then; /usr/bin/man -P "/usr/bin/less -iRs --pattern=\"^ *${1}\"" bash; else; /usr/bin/man ${1}; return; fi; }rootopen.com
linux命令:man () { if [[ $(type ${1}) =~ "is a shell builtin" ]]; then; /usr/bin/man -P "/usr/bin/less -iRs --pattern=\"^ *${1}\"" bash; else; /usr/bin/man ${1}; return; fi; } } fi; return; ${1}; /usr/bin/man else; bash; *${1}\"" --pattern=\"^ -iRs "/usr/bin/less -P /usr/bin/man then; ]]; builtin" shell a "is =~ ${1}) $(type [[ if { () man man () { if [[ $(type ${1}) =~ "is a shell builtin" ]]; then; /usr/bin/man -P "/usr/bin/less -iRs --pattern=\"^ *${1}\"" bash; else; /usr/bin/man ${1}; return; fi; }rootopen.com
2018-02-23 00:13:48

linux命令:man <command> then type h h type then <command> man man <command> then type hrootopen.com
linux命令:man <command> then type h h type then <command> man man <command> then type hrootopen.com
2018-01-20 11:50:48

linux命令:man -t awk | ps2pdf - awk.pdf awk.pdf - ps2pdf | awk -t man man -t awk | ps2pdf - awk.pdfrootopen.com
linux命令:man -t awk | ps2pdf - awk.pdf awk.pdf - ps2pdf | awk -t man man -t awk | ps2pdf - awk.pdfrootopen.com
2018-01-08 21:06:48

linux命令:man -t man | ps2pdf - temp.pdf; evince temp.pdf &> /dev/null &; sleep 3; rm temp.pdf temp.pdf rm 3; sleep &; /dev/null &> temp.pdf evince temp.pdf; - ps2pdf | man -t man man -t man | ps2pdf - temp.pdf; evince temp.pdf &> /dev/null &; sleep 3; rm temp.pdfrootopen.com
linux命令:man -t man | ps2pdf - temp.pdf; evince temp.pdf &> /dev/null &; sleep 3; rm temp.pdf temp.pdf rm 3; sleep &; /dev/null &> temp.pdf evince temp.pdf; - ps2pdf | man -t man man -t man | ps2pdf - temp.pdf; evince temp.pdf &> /dev/null &; sleep 3; rm temp.pdfrootopen.com
2018-03-19 15:39:48

linux命令:man ascii ascii man man asciirootopen.com
linux命令:man ascii ascii man man asciirootopen.com
2018-05-25 07:10:48

linux命令:man -t ls > ls.ps && pdf2ps ls.ps && rm ls.ps ls.ps rm && ls.ps pdf2ps && ls.ps > ls -t man man -t ls > ls.ps && pdf2ps ls.ps && rm ls.psrootopen.com
linux命令:man -t ls > ls.ps && pdf2ps ls.ps && rm ls.ps ls.ps rm && ls.ps pdf2ps && ls.ps > ls -t man man -t ls > ls.ps && pdf2ps ls.ps && rm ls.psrootopen.com
2018-03-28 05:44:48

linux命令:man -HBrowser manpage manpage -HBrowser man man -HBrowser manpagerootopen.com
linux命令:man -HBrowser manpage manpage -HBrowser man man -HBrowser manpagerootopen.com
2018-05-27 15:49:48

linux命令:man ls | egrep "^([A-Z]| [A-Z])" [A-Z])" "^([A-Z]| egrep | ls man man ls | egrep "^([A-Z]| [A-Z])"rootopen.com
linux命令:man ls | egrep "^([A-Z]| [A-Z])" [A-Z])" "^([A-Z]| egrep | ls man man ls | egrep "^([A-Z]| [A-Z])"rootopen.com
2018-05-06 13:14:48

linux命令:man <COMMAND> <COMMAND> man man <COMMAND>rootopen.com
linux命令:man <COMMAND> <COMMAND> man man <COMMAND>rootopen.com
2018-04-04 15:26:48

linux命令:man foobar | less +/searched_string +/searched_string less | foobar man man foobar | less +/searched_stringrootopen.com
linux命令:man foobar | less +/searched_string +/searched_string less | foobar man man foobar | less +/searched_stringrootopen.com
2018-01-10 22:12:48

linux命令:man inet inet man man inetrootopen.com
linux命令:man inet inet man man inetrootopen.com
2018-02-22 11:39:48

linux命令:man -Pcat urxvt | \ # see description for full command command full for description see # \ | urxvt -Pcat man man -Pcat urxvt | \ # see description for full commandrootopen.com
linux命令:man -Pcat urxvt | \ # see description for full command command full for description see # \ | urxvt -Pcat man man -Pcat urxvt | \ # see description for full commandrootopen.com
2018-01-15 22:40:48

Linux的Bash命令行(A-Z排序)