|
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>skipunin</emphasis> --help</emphasis> og <emphasis role="strong">man <emphasis>skipunin</emphasis></emphasis> eru meðal tveggja mikilvægustu tóla sem hægt er að nota í skipanalínunni.
|
|
Translated and reviewed by
Baldur
|
|
|
|
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.
|
|
|
|
Nær allar skipanir skilja <emphasis role="strong">-h</emphasis> (þ.e.a.s. <emphasis role="strong">--help</emphasis>) valmöguleikann sem sýnir hjálp fyrir skipunina og fer svo aftur í skipanalínuna. Prufaðu að skrifa <screen>man -h</screen> eða <screen>man --help</screen> til að sjá hvernig þetta virkar.
|
|
Translated and reviewed by
Baldur
|
|
|
|
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.
|
|
|
|
Allar skipanir og nær öll forrit hafa man („manual“ eða notendahandbók), enda þarf bara að skrifa <command>man skipun</command> til að fá að sjá notendahandbókina fyrir skipunina sem valin var. Ef skrifað er <screen>man mv</screen> kemur upp handbókin fyrir <command>mv</command> skipunina („færa“).
|
|
Translated and reviewed by
Baldur
|
|
|
|
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>.
|
|
|
|
Hægt er að færa sig upp og niður handbókina með örvatökkunum, og hægt er að fara úr henni með því að ýta á <keycap>q</keycap> (fyrir „quit“, eða að hætta).
|
|
Translated and reviewed by
Baldur
|
|
|
|
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> birtir handbókina fyrir skipunina <command>man</command>. Þetta er góður staður til að byrja að læra á þetta.
|
|
Translated and reviewed by
Baldur
|
|
|
|
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.
|
|
|
|
<screen>man intro</screen> er hjálpsamt þar sem það birtir „Introduction to user commands“ sem er vel skrifaður og stuttur inngangur fyrir Linux skipanalínuna.
|
|
Translated and reviewed by
Baldur
|
|
|
|
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.
|
|
|
|
Einnig eru til <command>info</command> síður (stytting á „information“ sem er enska og þýðir upplýsingar) sem fjalla að öllu jöfnu betur um skipanir en <command>man</command> síðurnar. Til að sjá upplýsingar um info síðuna má skrifa <screen>info info</screen>.
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:401(para)
|
|
82.
|
|
|
Searching for man files
|
|
|
|
Að leita í man skrám
|
|
Translated and reviewed by
Tómas A. Árnason
|
|
|
|
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.
|
|
|
|
Ef þú ert ekki viss um það hvaða skipun eða forrit er best að nota þá geturðu reynt að leita í man skránum.
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:412(para)
|
|
84.
|
|
|
This is the same as the <command>apropos</command> command.
|
|
|
|
Þetta gerir það sama og <command>apropos</command> skipunin.
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:425(para)
|