|
77.
|
|
|
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <command>man</command><emphasis role="strong"><emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:398(para)
|
|
78.
|
|
|
Virtually all commands understand the <command>-h</command> (or <command>--help</command>) option which will produce a short usage description of the command and its 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
../docs/cli/C/cli.xml:404(para)
|
|
79.
|
|
|
Every command and nearly every application in Linux has a <abbrev>man</abbrev> (manual) file. It 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> brings up the <command>mv</command> manual.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:413(para)
|
|
80.
|
|
|
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:406(para)
|
|
81.
|
|
|
<screen>man man</screen> brings up the manual entry for the <command>man</command> command, which is a good place to start.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:410(para)
|
|
82.
|
|
|
<screen>man intro</screen> is especially useful. It displays the <quote>introduction to user commands</quote> which is a well-written, brief introduction to the Linux command line.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/cli/C/cli.xml:430(para)
|
|
83.
|
|
|
There are also <command>info</command> pages, which generally go into more detail than <command>man</command> pages. Try: <screen>info info</screen> for the introduction to info pages.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:419(para)
|
|
84.
|
|
|
Searching for man files
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:425(title)
|
|
85.
|
|
|
If you aren't sure which command or application you need to use, you can search the <command>man</command> files.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:426(para)
|
|
86.
|
|
|
To search the <command>man</command> files for <command>konsole</command>, try: <screen>man -k konsole</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:430(para)
|