--help
的選項,但不是所有指令皆有此選項,例如:
[root@kvm4 ~]# su --help Usage: su [OPTION]... [-] [USER [ARG]...] Change the effective user id and group id to that of USER. -, -l, --login make the shell a login shell -c, --command=COMMAND pass a single COMMAND to the shell with -c --session-command=COMMAND pass a single COMMAND to the shell with -c and do not create a new session -f, --fast pass -f to the shell (for csh or tcsh) -m, --preserve-environment do not reset environment variables -p same as -m -s, --shell=SHELL run SHELL if /etc/shells allows it --help display this help and exit --version output version information and exit A mere - implies -l. If USER not given, assume root. ....
[root@kvm4 ~]# man su SU(1) User Commands SU(1) NAME su - run a shell with substitute user and group IDs SYNOPSIS su [OPTION]... [-] [USER [ARG]...] DESCRIPTION Change the effective user id and group id to that of USER. -, -l, --login make the shell a login shell ...... AUTHOR Written by David MacKenzie. REPORTING BUGS ...
代號 | 代表內容 |
1 | 使用者可以操作的指令或可執行檔 |
2 | 系統核心可呼叫的函式與工具 |
3 | 常用函式 (function) 與函式庫 (library) |
4 | 裝置檔案的說明 |
5 | 設定檔 |
6 | 遊戲 |
7 | 慣例與協定 |
8 | 系統管理員可用的管理指令 |
9 | 跟核心有關的文件 |
代號 | 代表內容 |
NAME | 簡短指令、資料名稱說明 |
SYNOPSIS | 簡短指令下達語法簡介 |
DESCRIPTION | 較完整的說明 |
OPTIONS | 針對 SYNOPSIS 中列舉的所有參數說明 |
COMMANDS | 當此程式執行中可下達的指令 |
FILES | 此程式所使用、參考或連結的檔案 |
SEE ALSO | 與此指令相關的說明 |
EXAMPLE | 參考範例 |
BUGS | 是否有相關的臭蟲 |
HISTORY | 指令歷史 |
OTHER VERSIONS | 是否有其他版本 |
按鍵 | 進行工作 |
空白鍵 | 往下翻一頁。 |
page up | 往上翻一頁。 |
page down | 往下翻一頁。 |
home | 回到最前頁。 |
end | 到最終頁。 |
/word | 向下搜尋 word 這個字。 |
?word | 向上搜尋 word 這個字。 |
n,N | n 繼續下一個搜尋,N 繼續反向搜尋。 |
q | 離開。 |
[root@kvm4 ~]# man --help man, version 1.6f usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list] [-m system] [-p string] name ... a : find all matching entries c : do not use cat file d : print gobs of debugging information D : as for -d, but also display the pages f : same as whatis(1) h : print this help message k : same as apropos(1) K : search for a string in all pages t : use troff to format pages for printing w : print location of man page(s) that would be displayed (if no name given: print directories that would be searched) W : as for -w, but display filenames only C file : use `file' as configuration file M path : set search path for manual pages to `path' P pager : use program `pager' to display pages S list : colon separated section list m system : search for alternate system's man pages p string : string tells which preprocessors to run e - [n]eqn(1) p - pic(1) t - tbl(1) g - grap(1) r - refer(1) v - vgrind(1)