|
71.
|
|
|
Options
|
|
|
|
Možnosti
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:335(title)
|
|
72.
|
|
|
The default behavior for a command may usually be modified by adding a <emphasis role="strong">-- <emphasis>option</emphasis></emphasis> to the command. The <link linkend="ls"><command>ls</command></link> command, for example, has a <emphasis role="strong">-s</emphasis> option so that <command>ls -s</command> will include file sizes in the listing. There is also a <emphasis role="strong">-h</emphasis> option to get those sizes in a "human readable" format.
|
|
|
|
Privzeto obnašanje za ukaz je običajno mogoče spremeniti z dodajanjem <emphasis role="strong">-- <emphasis>možnosti</emphasis></emphasis> . Ukaz <link linkend="ls"><command>ls</command></link> ima na primer možnost <emphasis role="strong">-s</emphasis> , tako da <command>ls -s</command> v seznamu vključi velikosti datotek. Možnost <emphasis role="strong">-h</emphasis> te velikosti predstavi v "človeku berljivi" obliki.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:336(para)
|
|
73.
|
|
|
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.
|
|
|
|
Možnosti je mogoče združiti v skupine, zato je <screen>ls -sh</screen> povsem isti ukaz kot <screen>ls -s -h</screen>. Večina možnosti ima dolgo različico, ki ima za pripono dva pomišljaja namesto enega, zato je tudi <screen>ls --size --human-readable</screen> isti ukaz.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:347(para)
|
|
74.
|
|
|
"Man" and getting help
|
|
|
|
"Man" in pridobivanje pomoči
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
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>ukaza</emphasis> --help</emphasis> in <emphasis role="strong">man</emphasis> sta dva najpomembnejši orodji v ukazni vrstici.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
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.
|
|
|
|
Skoraj vsi ukazi razumejo možnost <emphasis role="strong">-h</emphasis> (ali <emphasis role="strong">--help</emphasis>), ki bo proizvedla kratek opis uporabe ukaza in njegove možnosti, ter nato končala v pozivu ukazov. Za prikaz delovanja vtipkajte <screen>man -h</screen> ali <screen>man --help</screen>.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
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.
|
|
|
|
Vsak ukaz in skoraj vsak program v Linuxu bo imel datoteko man (priročnik). Odprete jih lahko z ukazom <command>man ukaz</command>. Na primer, <screen>man mv</screen> prikaže priročnik za ukaz <command>mv</command>.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
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>.
|
|
|
|
Po datoteki man se lahko premikate s tipkami s puščicami, s <keycap>q</keycap> priročnik končate in se vrnete nazaj v ukazno vrstico.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
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> prikaže vnos priročnika za ukaz <commad>man</command>, kar je dobro mesto za začetek.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
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> je še posebno uporaben - prikaže "Uvod v uporabniške ukaze", kar je dobro napisan in precej kratek uvod v ukazno vrstico Linuxa.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:396(para)
|