|
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.
|
|
|
|
Lo comportament per defaut d'una comanda poirà, de costuma, èsser modificat en apodent una <emphasis role="strong">--<emphasis>opcion</emphasis></emphasis> a aquesta comanda. La comanda <link linkend="ls"><command>ls</command></link> per exemple, a una opcion <emphasis role="strong">-s</emphasis> que farà que <command>ls -s</command> apondrà la talha dels fichièrs dins la lista, o encara l'opcion <emphasis role="strong">-h</emphasis> per obténer aquelas talhas dins un format «[nbsp] legible per d'umans[nbsp] ».
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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.
|
|
|
|
Las opcions pòdon èsser agropadas en blòts, çò que significa que <screen>ls -sh</screen> es identic a <screen>ls -s -h</screen>. La màger part de las opcions an una version longa, precedidas de dos tirets (--) a la plaça d'un sol (-) doncas <screen>ls --size --human-readable</screen> es la meteissa comanda que las doas precedentas.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:347(para)
|
|
74.
|
|
|
"Man" and getting help
|
|
|
|
Obténer d'ajuda e «[nbsp] man[nbsp] »
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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>commande</emphasis> --help</emphasis> e <emphasis role="strong">man <emphasis>comanda</emphasis></emphasis> son los dos espleches mai importants dins la linha de comanda.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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.
|
|
|
|
Gaireben totas las comandas accèptan l'opcion <emphasis role="strong">-h</emphasis> (o <emphasis role="strong">--help</emphasis>) que produirà una brèva descripcion de la comanda e de sas opcions, puèi que quitarà per tornar al terminal. Picatz <screen>man -h</screen> o <screen>man --help</screen> per veire aqueste comportament en accion.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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.
|
|
|
|
Totas las comandas e gaireben totas las aplicacions jos Linux an un fichièr de manual (man). Per i aver accès, sufís de picar <command>man comanda</command> per una explicacion completa de la comanda especificada. Per exemple[nbsp] : <screen>man mv</screen> vos renviarà a l'ajuda sus la comanda <command>mv</command> (move).
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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>.
|
|
|
|
Percorrètz lo fichièr d'ajuda amb las sagetas, e quitatz amb la tòca <keycap>q</keycap> per tornar al terminal.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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> aficha las entradas de manual per la comanda <command>man</command>, aquò's un bon despart.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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> es particularament utila — aficha «[nbsp] l'introduccion a las comandas d'utilizaire[nbsp] » qu'es una introduccion plan escricha e pro brèva a la linha de comanda de Linux.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
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.
|
|
|
|
Existisson tanben de paginas <command>info</command> que contenon generalament mai d'informacions que las paginas <command>man</command>. Ensajatz <screen>info info</screen> per una introduccion sus las paginas info.
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:401(para)
|