|
74.
|
|
|
"Man" and getting help
|
|
|
|
"Man"和取得幫助
|
|
Translated and reviewed by
Yu-Hsiang Tseng
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:358(title)
|
|
75.
|
|
|
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <emphasis role="strong">man <emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
|
|
<emphasis role="strong"><emphasis>指令</emphasis> --help</emphasis> 及 <emphasis role="strong">man <emphasis>指令</emphasis></emphasis> 是在命令列中最重要的兩個工具。
|
|
Translated and reviewed by
hialan
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:359(para)
|
|
76.
|
|
|
Virtually all commands understand the <emphasis role="strong">-h</emphasis> (or <emphasis role="strong">--help</emphasis>) option which will produce a short usage description of the command and it's options, then exit back to the command prompt. Type <screen>man -h</screen> or <screen>man --help</screen> to see this in action.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:366(para)
|
|
77.
|
|
|
Every command and nearly every application in Linux will have a man (manual) file, so finding them is as simple as typing <command>man command</command> to bring up a longer manual entry for the specified command. For example, <screen>man mv</screen> will bring up the <command>mv</command> (move) manual.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:376(para)
|
|
78.
|
|
|
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
|
|
在 man 中使用方向鍵上下移動,並使用 <keycap>q</keycap> 以離開回到命令列提示。
|
|
Translated and reviewed by
hialan
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:385(para)
|
|
79.
|
|
|
<screen>man man</screen> will bring up the manual entry for the <command>man</command> command, which is a good place to start.
|
|
|
|
<screen>man man</screen> 會為 <command>man</command> 指令帶出手冊條目,這是開始的好地方。
|
|
Translated and reviewed by
hialan
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:390(para)
|
|
80.
|
|
|
<screen>man intro</screen> is especially useful - it displays the "Introduction to user commands" which is a well-written, fairly brief introduction to the Linux command line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:396(para)
|
|
81.
|
|
|
There are also <command>info</command> pages, which are generally more in-depth than <command>man</command> pages. Try <screen>info info</screen> for the introduction to info pages.
|
|
|
|
也有 <command>info</command> pages,一般比 <command>man</command> 的說明更為深入。 試試 <screen>info info</screen> 取得 info pages 的介紹。
|
|
Translated and reviewed by
hialan
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:401(para)
|
|
82.
|
|
|
Searching for man files
|
|
|
|
搜尋使用說明(man)檔案
|
|
Translated and reviewed by
Yu-Hsiang Tseng
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:411(title)
|
|
83.
|
|
|
If you aren't sure which command or application you need to use, you can try searching the man files.
|
|
|
|
如果您不確定您需要用到哪個指令或是應用程式,您可以試著搜尋使用說明( man )檔案。
|
|
Translated and reviewed by
Yu-Hsiang Tseng
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:412(para)
|