|
66.
|
|
|
Finally, to assign the new user to the new group, type: <screen>adduser newuser newgroup</screen>
|
|
|
|
Infine, per assegnare il nuovo utente al nuovo gruppo, digitare: <screen>adduser NUOVO_UTENTE NUOVO_GRUPPO</screen>
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:327(para)
|
|
67.
|
|
|
Options
|
|
|
|
Opzioni
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:335(title)
|
|
68.
|
|
|
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.
|
|
|
|
Il normale comportamento di un comando può essere modificato aggiungendo <emphasis role="strong">-- <emphasis>opzione</emphasis></emphasis> al comando stesso. Il comando <link linkend="ls"><command>ls</command></link>, per esempio, ha un'opzione <emphasis role="strong">-s</emphasis> in modo che <command>ls -s</command> visualizzi le dimensioni dei file nell'output. È presente anche un'opzione <emphasis role="strong">-h</emphasis> per avere le dimensioni in un formato leggibile.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:336(para)
|
|
69.
|
|
|
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.
|
|
|
|
Le opzioni possono essere raggruppate in una sola cosicché <screen>ls -sh</screen> sia la stessa cosa di <screen>ls -s -h</screen> Molte opzioni comprendono una versione più lunga, preceduta da due trattini invece che uno, quindi il comando <screen>ls --size --human-readable</screen> è lo stesso comando.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:347(para)
|
|
70.
|
|
|
"Man" and getting help
|
|
|
|
«Man» e ottenere aiuto
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:358(title)
|
|
71.
|
|
|
<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>comando</emphasis> --help</emphasis> e <emphasis role="strong">man <emphasis>comando</emphasis></emphasis>, sono gli strumenti più importanti per la riga di comando.
|
|
Translated and reviewed by
Maurizio Moriconi
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:359(para)
|
|
72.
|
|
|
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.
|
|
|
|
Quasi tutti i comandi dispongono dell'opzione <emphasis role="strong">-h</emphasis> (o <emphasis role="strong">--help</emphasis>) che visualizza un piccolo messaggio sull'utilizzo del comando e le sue opzioni e quindi ritorna al prompt. Digitare <screen>man -h</screen> o <screen>man --help</screen> per visualizzare queste opzioni.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:366(para)
|
|
73.
|
|
|
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.
|
|
|
|
Ogni comando e ogni applicazione in Linux ha un file man (di manuale). Per trovarli, basta semplicemente digitare <command>man command</command> per avere tutto il manuale. Per esempio, <screen>man mv</screen> visualizza il manuale del comando <command>mv</command>.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:376(para)
|
|
74.
|
|
|
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
|
|
Per spostarsi all'interno del manuale usare le frecce direzionali, per tornare alla riga di comando, digitare <keycap>q</keycap>.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:385(para)
|
|
75.
|
|
|
<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> visualizza il manuale del comando <command>man</command>, un buon punto di partenza.
|
|
Translated and reviewed by
Maurizio Moriconi
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:390(para)
|