aboutsummaryrefslogtreecommitdiff
path: root/it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml
diff options
context:
space:
mode:
Diffstat (limited to 'it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml')
-rw-r--r--it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml427
1 files changed, 210 insertions, 217 deletions
diff --git a/it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml b/it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml
index c0e86cc887..6d0ec561ed 100644
--- a/it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml
+++ b/it_IT.ISO8859-15/books/unix-introduction/commands/chapter.xml
@@ -4,17 +4,16 @@
$FreeBSD$
-->
-
-<chapter id="commands">
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="commands">
<title>Altri comandi utili</title>
- <sect1 id="commands-work-files">
+ <sect1 xml:id="commands-work-files">
<title>Lavorare con i file</title>
<para>Questa sezione descrive alcuni comandi che possono risultare utili
nell'esaminare e manipolare il contenuto dei propri file.</para>
- <table frame="all" id="commands-table-utilities-files">
+ <table frame="all" xml:id="commands-table-utilities-files">
<title>Utilità file</title>
<tgroup cols="2">
@@ -30,72 +29,72 @@
<tbody>
<row>
- <entry><command>cmp [<replaceable>opzioni</replaceable>]
- <replaceable>file1 file2</replaceable></command></entry>
+ <entry><command>cmp [opzioni]
+ file1 file2</command></entry>
<entry>confronta due file e mostra dove avvengono le differenze
(file di testo e file binari)</entry>
</row>
<row>
- <entry><command>cut [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>]</command></entry>
+ <entry><command>cut [opzioni]
+ [file]</command></entry>
<entry>taglia specifici campi/caratteri dalle linee di un
file</entry>
</row>
<row>
- <entry><command>diff [<replaceable>opzioni</replaceable>]
- <replaceable>file1 file2</replaceable></command></entry>
+ <entry><command>diff [opzioni]
+ file1 file2</command></entry>
<entry>confronta due file e mostra le differenze
(solamente file di testo)</entry>
</row>
<row>
- <entry><command>file [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>file [opzioni]
+ file</command></entry>
<entry>classifica il tipo di file</entry>
</row>
<row>
- <entry><command>find <replaceable>directory</replaceable>
- [<replaceable>opzioni</replaceable>]
- [<replaceable>azioni</replaceable>]</command></entry>
+ <entry><command>find directory
+ [opzioni]
+ [azioni]</command></entry>
<entry>cerca file basandosi sul tipo o su uno schema</entry>
</row>
<row>
- <entry><command>ln [<replaceable>opzioni</replaceable>]
- <replaceable>sorgente</replaceable>
- <replaceable>destinazione</replaceable></command></entry>
+ <entry><command>ln [opzioni]
+ sorgente
+ destinazione</command></entry>
<entry>crea un link (collegamento) a
- <filename><replaceable>sorgente</replaceable></filename> chiamato
- <filename><replaceable>destinazione</replaceable></filename></entry>
+ <filename>sorgente</filename> chiamato
+ <filename>destinazione</filename></entry>
</row>
<row>
- <entry><command>paste [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>paste [opzioni]
+ file</command></entry>
<entry>aggiunge campi all'interno di un file</entry>
</row>
<row>
- <entry><command>sort [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>sort [opzioni]
+ file</command></entry>
<entry>riordina le linee di un file in accordo con le opzioni
specificate</entry>
</row>
<row>
- <entry><command>strings [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>strings [opzioni]
+ file</command></entry>
<entry>riporta sequenze di 4 o più caratteri stampabili
terminati con &lt;NL&gt; o &lt;NULL&gt;. Normalmente utilizzato
@@ -103,24 +102,24 @@
</row>
<row>
- <entry><command>tee [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>tee [opzioni]
+ file</command></entry>
<entry>copia standard output in uno o più file</entry>
</row>
<row>
- <entry><command>touch [<replaceable>opzioni</replaceable>]
- [<replaceable>data/ora</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>touch [opzioni]
+ [data/ora]
+ file</command></entry>
<entry>crea un file vuoto o aggiorna la data di accesso di un file
esistente</entry>
</row>
<row>
- <entry><command>tr [<replaceable>opzioni</replaceable>]
- <replaceable>stringa1 stringa2</replaceable></command></entry>
+ <entry><command>tr [opzioni]
+ stringa1 stringa2</command></entry>
<entry>traduce i caratteri di <replaceable>stringa1</replaceable>
provenienti da standard input in quelli di
@@ -128,15 +127,15 @@
</row>
<row>
- <entry><command>uniq [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>uniq [opzioni]
+ file</command></entry>
<entry>rimuove le linee ripetute in un file</entry>
</row>
<row>
- <entry><command>wc [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>]</command></entry>
+ <entry><command>wc [opzioni]
+ [file]</command></entry>
<entry>mostra il numero di parole (o di caratteri o di linee) di
un file</entry>
@@ -145,7 +144,7 @@
</tgroup>
</table>
- <sect2 id="commands-work-files-cmp">
+ <sect2 xml:id="commands-work-files-cmp">
<title>cmp - confronta contenuti di file</title>
<para>Il comando &man.cmp.1; confronta due file, e (senza opzioni) riporta
@@ -155,10 +154,10 @@
<para><emphasis>Sintassi</emphasis></para>
- <para><command>cmp [<replaceable>opzioni</replaceable>]
- <replaceable>file1 file2</replaceable>
- [<replaceable>salto1</replaceable>]
- [<replaceable>salto2</replaceable>]</command></para>
+ <para><command>cmp [opzioni]
+ file1 file2
+ [salto1]
+ [salto2]</command></para>
<para>I numeri di <emphasis>salto</emphasis> sono i numeri di byte da
saltare in ogni file prima di iniziare il confronto.</para>
@@ -214,7 +213,7 @@ mon.logins tues.logins differ: char 9, line 2</screen>
versione dello stesso file.</para>
</sect2>
- <sect2 id="commands-work-files-diff">
+ <sect2 xml:id="commands-work-files-diff">
<title>diff - differenze tra file</title>
<para>Il comando &man.diff.1; confronta due file, due directory,
@@ -225,8 +224,8 @@ mon.logins tues.logins differ: char 9, line 2</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>diff [<replaceable>opzioni</replaceable>]
- <replaceable>file1 file2</replaceable></command></para>
+ <para><command>diff [opzioni]
+ file1 file2</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -291,7 +290,7 @@ mon.logins tues.logins differ: char 9, line 2</screen>
&lt; e quelle del secondo file sono precedute da &gt;.</para>
</sect2>
- <sect2 id="commands-work-files-cut">
+ <sect2 xml:id="commands-work-files-cut">
<title>cut - seleziona parte di una linea di un file</title>
<para>Il comando &man.cut.1; permette di estrarre una parte di
@@ -299,8 +298,8 @@ mon.logins tues.logins differ: char 9, line 2</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>cut [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>cut [opzioni]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -385,7 +384,7 @@ sphi</screen>
linea.</para>
</sect2>
- <sect2 id="commands-work-files-paste">
+ <sect2 xml:id="commands-work-files-paste">
<title>paste - fusione di file</title>
<para>Il comando &man.paste.1; permette di combinare insieme due
@@ -395,8 +394,8 @@ sphi</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>paste [<replaceable>opzioni</replaceable>]
- <replaceable>file1 file2</replaceable></command></para>
+ <para><command>paste [opzioni]
+ file1 file2</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -488,7 +487,7 @@ Sue Phillip 555-7623</programlisting>
Prima si estraggono i numeri di telefono all'interno del file temporaneo
<filename>temp.file</filename>:</para>
- <screen>&prompt.user; <userinput>cut -f2 phone > temp.file</userinput>
+ <screen>&prompt.user; <userinput>cut -f2 phone &gt; temp.file</userinput>
555-6634
555-3382
555-0987
@@ -499,7 +498,7 @@ Sue Phillip 555-7623</programlisting>
<filename>users</filename> e quindi rediretto nel nuovo file,
<filename>listing</filename>:</para>
- <screen>&prompt.user; <userinput>paste users temp.file > listing</userinput>
+ <screen>&prompt.user; <userinput>paste users temp.file &gt; listing</userinput>
jdoe John Doe 4/15/96 237-6634
lsmith Laura Smith 3/12/96 878-3382
pchen Paul Chen 1/5/96 888-0987
@@ -509,13 +508,13 @@ sphilip Sue Phillip 4/2/96 656-7623</screen>
<para>Tutto questo può anche essere realizzato su una linea senza
il file temporaneo, con lo stesso risultato:</para>
- <screen>&prompt.user; <userinput>cut -f2 phone | paste users - > listing</userinput></screen>
+ <screen>&prompt.user; <userinput>cut -f2 phone | paste users - &gt; listing</userinput></screen>
<para>In questo caso il trattino (-) funge come sostituto per il campo di
input (indica cioè l'output del comando &man.cut.1;).</para>
</sect2>
- <sect2 id="commands-work-files-touch">
+ <sect2 xml:id="commands-work-files-touch">
<title>touch - crea un file</title>
<para>Il comando &man.touch.1; può essere usato per creare un nuovo
@@ -527,13 +526,13 @@ sphilip Sue Phillip 4/2/96 656-7623</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>touch [<replaceable>opzioni</replaceable>]
- [<replaceable>data/ora1</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>touch [opzioni]
+ [data/ora1]
+ file</command></para>
- <para><command>touch [<replaceable>opzioni</replaceable>]
- [-t <replaceable>data/ora2</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>touch [opzioni]
+ [-t data/ora2]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -654,10 +653,10 @@ sphilip Sue Phillip 4/2/96 656-7623</screen>
<para>Per creare un file:</para>
- <screen>&prompt.user; <userinput>touch <replaceable>filename</replaceable></userinput></screen>
+ <screen>&prompt.user; <userinput>touch filename</userinput></screen>
</sect2>
- <sect2 id="commands-work-files-wc">
+ <sect2 xml:id="commands-work-files-wc">
<title>wc - conta le parole in un file</title>
<para>&man.wc.1; sta per <quote>conta parole</quote>; il comando
@@ -666,8 +665,8 @@ sphilip Sue Phillip 4/2/96 656-7623</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>wc [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>wc [opzioni]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -735,7 +734,7 @@ sphilip Sue Phillip 4/2/96</programlisting>
<screen>5 users</screen>
</sect2>
- <sect2 id="commands-work-files-ln">
+ <sect2 xml:id="commands-work-files-ln">
<title>ln - crea un link a un altro file</title>
<para>Il comando &man.ln.1; crea un <quote>link</quote> (collegamento) o
@@ -744,14 +743,14 @@ sphilip Sue Phillip 4/2/96</programlisting>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>ln [<replaceable>opzioni</replaceable>]
- <replaceable>sorgente</replaceable>
- [<replaceable>destinazione</replaceable>]</command></para>
+ <para><command>ln [opzioni]
+ sorgente
+ [destinazione]</command></para>
<para>Se non specificata, la
- <filename><replaceable>destinazione</replaceable></filename> di default
+ <filename>destinazione</filename> di default
è un file dello stesso nome di
- <filename><replaceable>sorgente</replaceable></filename> posto nella
+ <filename>sorgente</filename> posto nella
directory di lavoro corrente.</para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -796,7 +795,7 @@ sphilip Sue Phillip 4/2/96</programlisting>
seguente:</para>
<screen>16 -rwxr-x--- 1 lindadb acs 15927 Apr 23 04:10 chkit
-1 lrwxrwxrwx 1 lindadb acs 5 Apr 23 04:11 chkmag -> chkit</screen>
+1 lrwxrwxrwx 1 lindadb acs 5 Apr 23 04:11 chkmag -&gt; chkit</screen>
<para>Notare che mentre i permessi di <command>chkmag</command> sono
aperti a tutti, poichè è linkato a
@@ -827,7 +826,7 @@ sphilip Sue Phillip 4/2/96</programlisting>
742 -rwxr-x--- 2 lindadb acs 15927 Apr 23 04:10 chkmag</screen>
</sect2>
- <sect2 id="commands-work-files-sort">
+ <sect2 xml:id="commands-work-files-sort">
<title>sort - ordina il contenuto di un file</title>
<para>Il comando &man.sort.1; viene usato per ordinare le linee
@@ -839,9 +838,9 @@ sphilip Sue Phillip 4/2/96</programlisting>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>sort [<replaceable>opzioni</replaceable>]
- [+<replaceable>pos1</replaceable> [-<replaceable>pos2</replaceable>]]
- <replaceable>file</replaceable></command></para>
+ <para><command>sort [opzioni]
+ [+pos1 [-pos2]]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1052,7 +1051,7 @@ proy
sphillip</screen>
</sect2>
- <sect2 id="commands-work-files-tee">
+ <sect2 xml:id="commands-work-files-tee">
<title>tee - copia l'output di un comando</title>
<para>Il comando &man.tee.1; manda lo standard input nel file
@@ -1061,8 +1060,8 @@ sphillip</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>tee [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>]</command></para>
+ <para><command>tee [opzioni]
+ [file]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1092,12 +1091,12 @@ sphillip</screen>
visualizzato sullo schermo e memorizzato nel file
<filename>users.file</filename>:</para>
- <screen>brigadier: condron [55]> <userinput>who | tee users.file</userinput>
+ <screen>brigadier: condron [55]&gt; <userinput>who | tee users.file</userinput>
condron ttyp0 Apr 22 14:10 (lcondron-pc.acs.)
frank ttyp1 Apr 22 16:19 (nyssa)
condron ttyp9 Apr 22 15:52 (lcondron-mac.acs)</screen>
- <screen>brigadier: condron [56]> <userinput>cat users.file</userinput>
+ <screen>brigadier: condron [56]&gt; <userinput>cat users.file</userinput>
condron ttyp0 Apr 22 14:10 (lcondron-pc.acs.)
frank ttyp1 Apr 22 16:19 (nyssa)
condron ttyp9 Apr 22 15:52 (lcondron-mac.acs)</screen>
@@ -1107,10 +1106,10 @@ condron ttyp9 Apr 22 15:52 (lcondron-mac.acs)</screen>
Viene anche mandato in pipe con il comando &man.wc.1;, che riporta il
numero di linee.</para>
- <screen>brigadier: condron [57]> <userinput>who | tee users.a users.b | wc -l</userinput>
+ <screen>brigadier: condron [57]&gt; <userinput>who | tee users.a users.b | wc -l</userinput>
3</screen>
- <screen>brigadier: condron [58]> <userinput>cat users.a</userinput>
+ <screen>brigadier: condron [58]&gt; <userinput>cat users.a</userinput>
condron ttyp0 Apr 22 14:10 (lcondron-pc.acs.)
frank ttyp1 Apr 22 16:19 (nyssa)
condron ttyp9 Apr 22 15:52 (lcondron-mac.acs)</screen>
@@ -1120,12 +1119,12 @@ condron ttyp9 Apr 22 15:52 (lcondron-mac.acs)</screen>
con il comando &man.grep.1; che riporta quali file sono stati modificati
in Agosto.</para>
- <screen>brigadier: condron [60]> <userinput>ls -l | tee files.long |grep Aug</userinput>
+ <screen>brigadier: condron [60]&gt; <userinput>ls -l | tee files.long |grep Aug</userinput>
1 drwxr-sr-x 2 condron 512 Aug 8 1995 News/
2 -rw-r--r-- 1 condron 1076 Aug 8 1995 magnus.cshrc
2 -rw-r--r-- 1 condron 1252 Aug 8 1995 magnus.login</screen>
- <screen>brigadier: condron [63]> <userinput>cat files.long</userinput>
+ <screen>brigadier: condron [63]&gt; <userinput>cat files.long</userinput>
total 34
2 -rw-r--r-- 1 condron 1253 Oct 10 1995 #.login#
1 drwx------ 2 condron 512 Oct 17 1995 Mail/
@@ -1141,7 +1140,7 @@ total 34
7 -rw-r--r-- 1 condron 6194 Apr 15 20:18 Unixgrep.txt</screen>
</sect2>
- <sect2 id="commands-work-files-uniq">
+ <sect2 xml:id="commands-work-files-uniq">
<title>uniq - rimuove linee duplicate</title>
<para>Il comando &man.uniq.1; filtra le linee adiacenti duplicate in un
@@ -1149,9 +1148,9 @@ total 34
<para><emphasis>Sintassi</emphasis></para>
- <para><command>uniq [<replaceable>opzioni</replaceable>]
- [+|-<replaceable>n</replaceable>] <replaceable>file</replaceable>
- [<replaceable>nuovo.file</replaceable>]</command></para>
+ <para><command>uniq [opzioni]
+ [+|-n] file
+ [nuovo.file]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1231,7 +1230,7 @@ total 34
7 8 9 0</screen>
</sect2>
- <sect2 id="commands-work-files-strings">
+ <sect2 xml:id="commands-work-files-strings">
<title>strings - cerca stringhe ASCII</title>
<para>Per cercare stringhe ASCII, stampabili, in un file binario si usa il
@@ -1243,8 +1242,8 @@ total 34
<para><emphasis>Sintassi</emphasis></para>
- <para><command>strings [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>strings [opzioni]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1314,7 +1313,7 @@ uso: cut -b lista [-n] [filename ...]
cut -f lista [-d delim] [-s] [filename]</screen>
</sect2>
- <sect2 id="commands-work-files-file">
+ <sect2 xml:id="commands-work-files-file">
<title>file - mostra il tipo di file</title>
<para>Il comando &man.file.1; esamina il file specificato e cerca di
@@ -1326,10 +1325,10 @@ uso: cut -b lista [-n] [filename ...]
<para><emphasis>Sintassi</emphasis></para>
- <para><command>file [<replaceable>opzioni</replaceable>]
- [-m <replaceable>file_magico</replaceable>]
- [-f <replaceable>lista_file</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>file [opzioni]
+ [-m file_magico]
+ [-f lista_file]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1349,7 +1348,7 @@ uso: cut -b lista [-n] [filename ...]
<entry><option>-f
<replaceable>lista_file</replaceable></option></entry>
- <entry><filename><replaceable>lista_file</replaceable></filename>
+ <entry><filename>lista_file</filename>
contiene la lista dei file da esaminare</entry>
</row>
@@ -1370,7 +1369,7 @@ uso: cut -b lista [-n] [filename ...]
<replaceable>file_magico</replaceable></option></entry>
<entry>usa
- <filename><replaceable>file_magico</replaceable></filename>
+ <filename>file_magico</filename>
come il file magico al posto di
<filename>/etc/magic</filename></entry>
</row>
@@ -1381,7 +1380,7 @@ uso: cut -b lista [-n] [filename ...]
<para><emphasis>Esempi:</emphasis></para>
<para>Vengono elencati qui sotto gli output del comando
- <command>file <replaceable>filename</replaceable></command> per alcuni
+ <command>file filename</command> per alcuni
file significativi.</para>
<screen>/etc/magic: File di testo ascii
@@ -1391,7 +1390,7 @@ source.tar: Archivio tar USTAR
source.tar.Z: Blocchi di dati compressi 16 bit</screen>
</sect2>
- <sect2 id="commands-work-files-tr">
+ <sect2 xml:id="commands-work-files-tr">
<title>tr - traduce caratteri</title>
<para>Il comando &man.tr.1; traduce caratteri da &man.stdin.4; a
@@ -1399,9 +1398,9 @@ source.tar.Z: Blocchi di dati compressi 16 bit</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>tr [<replaceable>opzioni</replaceable>]
- <replaceable>stringa1</replaceable>
- [<replaceable>stringa2</replaceable>]</command></para>
+ <para><command>tr [opzioni]
+ stringa1
+ [stringa2]</command></para>
<para>Con nessuna opzione i caratteri di
<replaceable>stringa1</replaceable> sono tradotti nei caratteri di
@@ -1597,7 +1596,7 @@ The Code of the Woosters [1938] Much Obliged, Jeves [1971]
Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
</sect2>
- <sect2 id="commands-work-files-find">
+ <sect2 xml:id="commands-work-files-find">
<title>find - cerca file</title>
<para>Il comando &man.find.1; può cercare file in modo
@@ -1607,9 +1606,9 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>find <replaceable>directory</replaceable>
- [<replaceable>opzioni di ricerca</replaceable>]
- [<replaceable>azioni</replaceable>]</command></para>
+ <para><command>find directory
+ [opzioni di ricerca]
+ [azioni]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1854,10 +1853,10 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
</sect2>
</sect1>
- <sect1 id="commands-file-arch-comp-conv">
+ <sect1 xml:id="commands-file-arch-comp-conv">
<title>Archiviazione, compressione e conversione di file</title>
- <table frame="all" id="commands-table-file-arch-comp-conv">
+ <table frame="all" xml:id="commands-table-file-arch-comp-conv">
<title>Comandi di archiviazione, compressione e conversione di
file</title>
@@ -1875,17 +1874,17 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<tbody>
<row>
<entry><command>compress/uncompress/zcat
- [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable>[.Z]</command></entry>
+ [opzioni]
+ file[.Z]</command></entry>
<entry>comprime o decomprime un file. I file compressi sono
memorizzati con l'estensione <filename>.Z</filename></entry>
</row>
<row>
- <entry><command>dd [if=<replaceable>infile</replaceable>]
- [of=<replaceable>outfile</replaceable>]
- [operando=<replaceable>valore</replaceable>]</command></entry>
+ <entry><command>dd [if=infile]
+ [of=outfile]
+ [operando=valore]</command></entry>
<entry>copia un file, converte tra ASCII e EBCDIC o scambia
l'ordine dei byte, come specificato</entry>
@@ -1893,24 +1892,24 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<row>
<entry><command>gzip/gunzip/zcat
- [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable>[.gz]</command></entry>
+ [opzioni]
+ file[.gz]</command></entry>
<entry>comprime o decomprime un file. I file compressi sono
memorizzati con l'estensione <filename>.gz</filename></entry>
</row>
<row>
- <entry><command>od [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></entry>
+ <entry><command>od [opzioni]
+ file</command></entry>
<entry>effettua un dump di un file binario in ottale, in ASCII, in
esadecimale, in decimale o in modo carattere.</entry>
</row>
<row>
- <entry><command>tar [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>]</command></entry>
+ <entry><command>tar [opzioni]
+ [file]</command></entry>
<entry>archivio a nastro - riferirsi alle pagine man per i dettagli
su come creare, visualizzare ed estrarre un archivio di file. I
@@ -1919,26 +1918,26 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<row>
<entry><command>uudecode
- [<replaceable>file</replaceable>]</command></entry>
+ [file]</command></entry>
<entry>decodifica un file uuencoded, ricreando il file
originale</entry>
</row>
<row>
- <entry><command>uuencode [<replaceable>file</replaceable>]
- <replaceable>nuovo_nome</replaceable></command></entry>
+ <entry><command>uuencode [file]
+ nuovo_nome</command></entry>
<entry>codifica un file binario in ASCII 7-bit; utile quando lo si
invia tramite email, per poi essere decodificato come
- <filename><replaceable>nuovo_nome</replaceable></filename> alla
+ <filename>nuovo_nome</filename> alla
destinazione</entry>
</row>
</tbody>
</tgroup>
</table>
- <sect2 id="commands-file-arch-comp-conv-compress-uncompress">
+ <sect2 xml:id="commands-file-arch-comp-conv-compress-uncompress">
<title>Compressione di file</title>
<para>Il comando &man.compress.1; viene usato per ridurre lo spazio di
@@ -1951,13 +1950,13 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>compress [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>]</command></para>
+ <para><command>compress [opzioni]
+ [file]</command></para>
- <para><command>uncompress [<replaceable>opzioni</replaceable>]
- [<replaceable>file</replaceable>.Z]</command></para>
+ <para><command>uncompress [opzioni]
+ [file.Z]</command></para>
- <para><command>zcat [<replaceable>file</replaceable>.Z]</command></para>
+ <para><command>zcat [file.Z]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -1978,7 +1977,7 @@ Joy in the Morning [1946] Aunts Aren't Gentlemen [1974]</screen>
<entry>forza la compressione del file, anche se questa non riduce
la dimensione del file o se il file destinazione
- (<filename><replaceable>file</replaceable>.Z</filename>) esiste
+ (<filename>file.Z</filename>) esiste
già.</entry>
</row>
@@ -2054,12 +2053,10 @@ beauty:01/31/94:#total logins,2175:#different UIDs,1194</screen>
rispettivamente come &man.gzip.1;, &man.gunzip.1; e &man.zcat.1;.
I nomi dei file compressi con &man.gzip.1; hanno l'estensione
<filename>.z</filename> o <filename>.gz</filename>. Il software GNU
- può essere ottenuto via ftp anonimo: <ulink
- url="ftp://ftp.gnu.org/pub/gnu"><hostid
- role="fqdn">ftp://ftp.gnu.org/pub/gnu</hostid></ulink>.</para>
+ può essere ottenuto via ftp anonimo: <link xlink:href="ftp://ftp.gnu.org/pub/gnu"><systemitem class="fqdomainname">ftp://ftp.gnu.org/pub/gnu</systemitem></link>.</para>
</sect2>
- <sect2 id="commands-file-arch-comp-conv-tar">
+ <sect2 xml:id="commands-file-arch-comp-conv-tar">
<title>tar - archivio di file</title>
<para>Il comando &man.tar.1; raggruppa file in un dispositivo o in un file
@@ -2069,8 +2066,8 @@ beauty:01/31/94:#total logins,2175:#different UIDs,1194</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>tar [<replaceable>opzioni</replaceable>]
- [<replaceable>directory file</replaceable>]</command></para>
+ <para><command>tar [opzioni]
+ [directory file]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2147,13 +2144,13 @@ beauty:01/31/94:#total logins,2175:#different UIDs,1194</screen>
decomprimerlo, o usare l'appropriato comando &man.zcat.1; e mandare in
pipe il risultato a &man.tar.1;, esempio:</para>
- <screen>&prompt.user; <userinput>zcat <replaceable>archive</replaceable>.tar.Z | tar -xvf -</userinput></screen>
+ <screen>&prompt.user; <userinput>zcat archive.tar.Z | tar -xvf -</userinput></screen>
<para>dove il trattino alla fine del comando &man.tar.1; indica che il
file è preso da &man.stdin.4;.</para>
</sect2>
- <sect2 id="commands-file-arch-comp-conv-uuencode-uudecode">
+ <sect2 xml:id="commands-file-arch-comp-conv-uuencode-uudecode">
<title>uuencode/uudecode - codifica/decodifica un file</title>
<para>Per codificare un file binario in ASCII 7-bit si usa il comando
@@ -2172,12 +2169,12 @@ beauty:01/31/94:#total logins,2175:#different UIDs,1194</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>uuencode [<replaceable>file_sorgente</replaceable>]
- <replaceable>pathname_per_uudecode</replaceable>
- [> <replaceable>nuovo_file</replaceable>]</command></para>
+ <para><command>uuencode [file_sorgente]
+ pathname_per_uudecode
+ [&gt; nuovo_file]</command></para>
<para><command>uudecode [-p]
- <replaceable>file_uuencode</replaceable></command></para>
+ file_uuencode</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2228,7 +2225,7 @@ M 4_&gt; )0 0 ". P
end</programlisting>
</sect2>
- <sect2 id="commands-file-arch-comp-conv-dd">
+ <sect2 xml:id="commands-file-arch-comp-conv-dd">
<title>dd - copia di blocchi e conversione</title>
<para>Il comando &man.dd.1; permette di copiare dati da dispositivi
@@ -2240,9 +2237,9 @@ end</programlisting>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>dd [if=<replaceable>dispositivo_input</replaceable>]
- [of=<replaceable>dispositivo_output</replaceable>]
- [operando=<replaceable>valore</replaceable>]</command></para>
+ <para><command>dd [if=dispositivo_input]
+ [of=dispositivo_output]
+ [operando=valore]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2400,7 +2397,7 @@ end</programlisting>
input e di output.</para>
</sect2>
- <sect2 id="commands-file-arch-comp-conv-od">
+ <sect2 xml:id="commands-file-arch-comp-conv-od">
<title>od - dump ottale di un file</title>
<para>Il comando &man.od.1; effettua un dump di un file su &man.stdout.4;
@@ -2409,8 +2406,8 @@ end</programlisting>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>od [<replaceable>opzioni</replaceable>]
- <replaceable>file</replaceable></command></para>
+ <para><command>od [opzioni]
+ file</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2511,10 +2508,10 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
</sect2>
</sect1>
- <sect1 id="commands-remote-connections">
+ <sect1 xml:id="commands-remote-connections">
<title>Connessioni remote</title>
- <table frame="all" id="commands-table-remote-connections">
+ <table frame="all" xml:id="commands-table-remote-connections">
<title>Comandi per connessioni remote</title>
<tgroup cols="2">
@@ -2530,46 +2527,46 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<tbody>
<row>
- <entry><command>finger [<replaceable>opzioni</replaceable>]
- <replaceable>user</replaceable>[@<replaceable>nomehost</replaceable>]</command></entry>
+ <entry><command>finger [opzioni]
+ user[@nomehost]</command></entry>
<entry>riporta informazioni sugli utenti delle macchine locali
e remote</entry>
</row>
<row>
- <entry><command>ftp [<replaceable>opzioni</replaceable>]
- <replaceable>host</replaceable></command></entry>
+ <entry><command>ftp [opzioni]
+ host</command></entry>
<entry>trasferisce file utilizzando il protocollo di trasferimento
di file</entry>
</row>
<row>
- <entry><command>rcp [<replaceable>opzioni</replaceable>]
- <replaceable>nomehost</replaceable></command></entry>
+ <entry><command>rcp [opzioni]
+ nomehost</command></entry>
<entry>copia file in remoto dalla macchina corrente in un'altra
macchina</entry>
</row>
<row>
- <entry><command>rlogin [<replaceable>opzioni</replaceable>]
- <replaceable>nomehost</replaceable></command></entry>
+ <entry><command>rlogin [opzioni]
+ nomehost</command></entry>
<entry>effettua il login in remoto su un'altra macchina</entry>
</row>
<row>
- <entry><command>rsh [<replaceable>opzioni</replaceable>]
- <replaceable>nomehost</replaceable></command></entry>
+ <entry><command>rsh [opzioni]
+ nomehost</command></entry>
<entry>shell remota da eseguire su un'altra macchina</entry>
</row>
<row>
- <entry><command>telnet [<replaceable>host</replaceable>
- [<replaceable>porta</replaceable>]]</command></entry>
+ <entry><command>telnet [host
+ [porta]]</command></entry>
<entry>comunica con un altro host utilizzando il protocollo
telnet</entry>
@@ -2578,7 +2575,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
</tgroup>
</table>
- <sect2 id="commands-remote-connections-telnet-ftp">
+ <sect2 xml:id="commands-remote-connections-telnet-ftp">
<title>TELNET e FTP - protocollo di login remoto e di trasferimento di
file</title>
@@ -2618,9 +2615,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
richiedere la password dell'utente. Una versione più sicura di
questo protocollo è la Sicura SHell
<application>SSH</application>, software scritto da Tatu Ylonen e
- disponibile via: <ulink
- url="ftp://ftp.net.ohio-state.edu/pub/security/ssh"><hostid
- role="fqdn">ftp://ftp.net.ohio-state.edu/pub/security/ssh</hostid></ulink>.</para>
+ disponibile via: <link xlink:href="ftp://ftp.net.ohio-state.edu/pub/security/ssh"><systemitem class="fqdomainname">ftp://ftp.net.ohio-state.edu/pub/security/ssh</systemitem></link>.</para>
<para>Da un prompt Unix, questi programmi possono essere invocati
digitando il comando (nome del comando) e il nome (Internet) della
@@ -2630,16 +2625,16 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<para><emphasis>Sintassi</emphasis></para>
- <para><command>telnet [<replaceable>opzioni</replaceable>]
- [<replaceable>host_remoto</replaceable>
- [<replaceable>porta</replaceable>]]</command></para>
+ <para><command>telnet [opzioni]
+ [host_remoto
+ [porta]]</command></para>
- <para><command>tn3270 [<replaceable>opzioni</replaceable>]
- [<replaceable>host_remoto</replaceable>
- [<replaceable>porta</replaceable>]]</command></para>
+ <para><command>tn3270 [opzioni]
+ [host_remoto
+ [porta]]</command></para>
- <para><command>ftp [<replaceable>opzioni</replaceable>]
- [<replaceable>host_remoto</replaceable>]</command></para>
+ <para><command>ftp [opzioni]
+ [host_remoto]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2662,13 +2657,13 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<row>
<entry><option>-d</option></entry>
- <entry></entry>
+ <entry/>
<entry>abilità la modalità di debugging</entry>
</row>
<row>
- <entry></entry>
+ <entry/>
<entry><option>-d</option></entry>
@@ -2678,7 +2673,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<row>
<entry><option>-i</option></entry>
- <entry></entry>
+ <entry/>
<entry>disabilita il prompt interattivo</entry>
</row>
@@ -2686,7 +2681,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<row>
<entry><option>-n</option></entry>
- <entry></entry>
+ <entry/>
<entry>non tenta un auto-login su una connessione</entry>
</row>
@@ -2694,13 +2689,13 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<row>
<entry><option>-v</option></entry>
- <entry></entry>
+ <entry/>
<entry>modalità verbose</entry>
</row>
<row>
- <entry></entry>
+ <entry/>
<entry><option>-l <replaceable>user</replaceable></option></entry>
@@ -2709,7 +2704,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
</row>
<row>
- <entry></entry>
+ <entry/>
<entry><option>-8</option></entry>
@@ -2737,10 +2732,10 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
e password. Spesso, le macchine organizzate come archivi di
software o di informazioni, permettono connessioni ftp anonime. Ci si
collega tramite &man.ftp.1; alla macchina remota e si effettua il
- login come <username>anonymous</username> (il login
- <username>ftp</username> è equivalente su molte macchine)
+ login come <systemitem class="username">anonymous</systemitem> (il login
+ <systemitem class="username">ftp</systemitem> è equivalente su molte macchine)
cioè, quando viene richiesto il login si digita
- <username>anonymous</username> (di solito per la password si inserisce
+ <systemitem class="username">anonymous</systemitem> (di solito per la password si inserisce
il proprio indirizzo email o qualsiasi altra cosa).</para>
<para>Una volta che si è correttamente collegati a un computer
@@ -2754,11 +2749,11 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
computer con il comando <command>get</command>. La sintassi è la
seguente:</para>
- <para><command>put <replaceable>nome-file-locale
- nome-file-remoto</replaceable></command></para>
+ <para><command>put nome-file-locale
+ nome-file-remoto</command></para>
- <para><command>get <replaceable>nome-file-locale
- nome-file-remoto</replaceable></command></para>
+ <para><command>get nome-file-locale
+ nome-file-remoto</command></para>
<para>Sono disponibili altri comandi per &man.ftp.1;, a seconda della
specifica implementazione dell'FTP locale e remoto. Il comando
@@ -2833,7 +2828,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
</informaltable>
</sect2>
- <sect2 id="commands-remote-connections-finger">
+ <sect2 xml:id="commands-remote-connections-finger">
<title>finger - restituisce informazioni riguardo gli utenti</title>
<para>Il comando &man.finger.1; mostra il file <filename>.plan</filename>
@@ -2844,8 +2839,8 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<para><emphasis>Sintassi</emphasis></para>
- <para><command>finger [<replaceable>opzioni</replaceable>]
- [<replaceable>user</replaceable>[@<replaceable>nomehost</replaceable>]]</command></para>
+ <para><command>finger [opzioni]
+ [user[@nomehost]]</command></para>
<para><emphasis>Opzioni generali</emphasis></para>
@@ -2878,7 +2873,7 @@ Full Moon [1947] Sunset at Blandings [1977]</programlisti
<para><emphasis>Esempi:</emphasis></para>
- <screen>brigadier:condron [77]> <userinput>finger workshop@nyssa</userinput>
+ <screen>brigadier:condron [77]&gt; <userinput>finger workshop@nyssa</userinput>
Questo è un esempio di file .plan per l'id workshop di nyssa.
Questo id è stato usato in questa settimana da Frank Fiamingo, Linda
DeBula, e Linda Condron, mentre insegnavano ad usare una nuova versione
@@ -2887,14 +2882,14 @@ di Unix workshop sviluppata per l'UTS.
Sperando di aver insegnato qualcosa.
Frank, Linda, &amp; Linda</screen>
- <screen>brigadier: condron [77]> <userinput>finger</userinput>
+ <screen>brigadier: condron [77]&gt; <userinput>finger</userinput>
Login Name TTY Idle When Where
condron Linda S Condron p0 Sun 18:13 lcondron-mac.acs
frank Frank G. Fiamingo p1 Mon 16:19 nyssa</screen>
</sect2>
- <sect2 id="commands-remote-connections-">
+ <sect2 xml:id="commands-remote-connections-">
<title>Comandi remoti</title>
<para>Alcune macchine Unix possono essere collegate tra loro per formare
@@ -2929,16 +2924,16 @@ frank Frank G. Fiamingo p1 Mon 16:19 nyssa</screen>
<para><emphasis>Sintassi</emphasis></para>
- <para><command>rlogin [-l <replaceable>username</replaceable>]
- <replaceable>host_remoto</replaceable></command></para>
+ <para><command>rlogin [-l username]
+ host_remoto</command></para>
- <para><command>rsh [-l <replaceable>username</replaceable>]
- <replaceable>host_remoto</replaceable>
- [<replaceable>comando</replaceable>]</command></para>
+ <para><command>rsh [-l username]
+ host_remoto
+ [comando]</command></para>
<para><command>rcp
- [[<replaceable>user1</replaceable>]@<replaceable>host1</replaceable>:]<replaceable>file_sorgente</replaceable>
- [[<replaceable>user2</replaceable>]@<replaceable>host2</replaceable>:]<replaceable>file_destinazione</replaceable></command></para>
+ [[user1]@host1:]file_sorgente
+ [[user2]@host2:]file_destinazione</command></para>
<para>dove le parti tra parentesi ([]) sono opzionali.
&man.rcp.1; non richiede password, quindi si deve avere il
@@ -2973,17 +2968,17 @@ frank Frank G. Fiamingo p1 Mon 16:19 nyssa</screen>
<para><replaceable>host_remoto utente_remoto</replaceable></para>
<para>dove l'elenco
- <username><replaceable>utente_remoto</replaceable></username> è
+ <systemitem class="username"><replaceable>utente_remoto</replaceable></systemitem> è
opzionale. Per esempio, se Heather Jones vuole essere in grado di
- connettersi alla <hostid role="hostname">macchina1</hostid> (dove il suo
- username è <username>heather</username>) dalla
- <hostid role="hostname">macchina2</hostid> (dove il suo username
- è <username>jones</username>) o dalla
- <hostid role="hostname">macchina3</hostid> (dove il suo username
- è <username>heather</username>, lo stesso della
- <hostid role="hostname">macchina1</hostid>), lei potrebbe creare un file
+ connettersi alla <systemitem class="fqdomainname">macchina1</systemitem> (dove il suo
+ username è <systemitem class="username">heather</systemitem>) dalla
+ <systemitem class="fqdomainname">macchina2</systemitem> (dove il suo username
+ è <systemitem class="username">jones</systemitem>) o dalla
+ <systemitem class="fqdomainname">macchina3</systemitem> (dove il suo username
+ è <systemitem class="username">heather</systemitem>, lo stesso della
+ <systemitem class="fqdomainname">macchina1</systemitem>), lei potrebbe creare un file
<filename>.rhosts</filename> nella sua home directory sulla
- <hostid role="hostname">macchina1</hostid>. Il contenuto di questo file
+ <systemitem class="fqdomainname">macchina1</systemitem>. Il contenuto di questo file
potrebbe essere:</para>
<programlisting>macchina2 jones
@@ -3001,8 +2996,7 @@ macchina3 heather</programlisting>
<para><replaceable>macchina_remota</replaceable></para>
- <para>permette agli utenti provenienti da <hostid
- role="hostname"><replaceable>macchina_remota</replaceable></hostid>
+ <para>permette agli utenti provenienti da <systemitem class="fqdomainname"><replaceable>macchina_remota</replaceable></systemitem>
che hanno gli stessi username della macchina corrente, di
connettersi a quest'ultima senza la necessita' di inserire la
password.</para>
@@ -3012,8 +3006,7 @@ macchina3 heather</programlisting>
<para><replaceable>macchina_remota utente_remoto</replaceable></para>
<para>permette a
- <username><replaceable>utente_remoto</replaceable></username> su <hostid
- role="hostname"><replaceable>macchina_remota</replaceable></hostid>
+ <systemitem class="username"><replaceable>utente_remoto</replaceable></systemitem> su <systemitem class="fqdomainname"><replaceable>macchina_remota</replaceable></systemitem>
di connettersi alla macchina corrente allo stesso modo dell'utente
locale, tranne che per il super-user.</para>