|
66.
|
|
|
Options can be grouped in clusters so <screen>ls -sh</screen> is exactly the same command as <screen>ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so even <screen>ls --size --human-readable</screen> is the same command.
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:363(para)
|
|
68.
|
|
|
<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.
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:375(para)
|
|
69.
|
|
|
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)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:382(para)
|
|
73.
|
|
|
<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)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:412(para)
|
|
78.
|
|
|
<command>man -k foo</command>, will search the man files for <emphasis>foo</emphasis>. Try <screen>man -k thunar</screen> to see how this works. <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:434(para)
|
|
80.
|
|
|
<command>man -f totem</command>, searches only the titles of your system's man files. For example, try <screen>man -f gnome</screen><placeholder-1/>
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:514(para)
|
|
83.
|
|
|
Often, you will be referred to instructions that require commands to be pasted into the terminal. You might be wondering why the text you've copied from a web page using <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> won't paste in with <keycombo><keycap>Ctrl</keycap><keycap>V</keycap></keycombo>. Surely you don't have to type in all those nasty commands and filenames? Relax. Middle Button Click on your mouse (both buttons simultaneously on a two-button mouse) or Right Click and select <menuchoice><guimenuitem>Paste</guimenuitem></menuchoice> from the menu. You can also insert text by hitting <keycombo><keycap>Ctrl</keycap><keycap>Insert</keycap></keycombo>
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:535(para)
|
|
94.
|
|
|
When working in the command line, your mouse will not interface with the terminal. Use the <keycap>Left/Right arrow</keycap> keys to move around the line.
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
sheldonwang
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:636(para)
|