|
46.
|
|
|
The <command>touch</command> command is used to change a file's access and modification timestamps or to create a new empty file. For example, <screen>touch foo</screen> will create a new empty file named <filename>foo</filename>. If <filename>foo</filename> is already a file, then using <command>touch</command> will update the timestamps on the file, which show the last time a file was <emphasis>touched</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:189(para)
|
|
47.
|
|
|
mkdir - make directory
|
|
|
|
mkdir - crea un directorio
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:200(title)
|
|
48.
|
|
|
The <command>mkdir</command> command is used to create a new directory. (<acronym>mkdir</acronym> stands for <quote>make directory</quote>). To create a new directory named <filename class="directory">foobar</filename>, type: <screen>mkdir foobar</screen>
|
|
|
|
La orden <command>mkdir</command> se utiliza para crear un nuevo directorio (<acronym>mkdir</acronym> significa <quote>make directory</quote>, es decir <quote>hacer directorio</quote>). Para crear un directorio llamado <filename class="directory">foobar</filename>, escriba <screen>mkdir foobar</screen>.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:204(para)
|
|
49.
|
|
|
cp - copy files or directories
|
|
|
|
cp - copia archivos o directorios
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:209(title)
|
|
50.
|
|
|
The <command>cp</command> command makes a copy of a file or directory. (<acronym>cp</acronym> is short for <quote>copy</quote>). To make an exact copy of <filename>foo</filename> and name it <filename>bar</filename>, type: <screen>cp foo bar</screen> To make an exact copy of the <filename class="directory">foo_dir</filename> directory and name it <filename class="directory">bar_dir</filename>, type: <screen>cp -r foo_dir bar_dir</screen>
|
|
|
|
La orden <command>cp</command> crea una copia de un archivo o directorio (<acronym>cp</acronym> es la abreviatura de <quote>copy</quote>, es decir <quote>copiar</quote>). Para crear una copia exacta del archivo <filename>foo</filename> y llamarla <filename>bar</filename>, escriba <screen>cp foo bar</screen>. Para crear una copia exacta del directorio <filename class="directory">foo_dir</filename> y llamarlo <filename class="directory">bar_dir</filename>, escriba <screen>cp -r foo_dir bar_dir</screen>.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:213(para)
|
|
51.
|
|
|
mv - move files or directories
|
|
|
|
mv - mueve archivos o directorios
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:220(title)
|
|
52.
|
|
|
The <command>mv</command> command moves a file or directory to a different location or renames a file or directory. (<acronym>mv</acronym> is short for <quote>move</quote>). To rename the file <filename>foo</filename> to <filename>bar</filename>, type: <screen>mv foo bar</screen> To move the file <filename>foo</filename> into the current user's <filename class="directory">Desktop</filename> directory, type: <screen>mv foo
~/Desktop</screen> This will not rename <filename>foo</filename> to <filename>Desktop</filename>, because <filename>foo</filename> is a file and <filename class="directory">Desktop</filename> is a directory.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:225(para)
|
|
53.
|
|
|
rm - remove files or directories
|
|
|
|
rm - elimina archivos o directorios
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:233(title)
|
|
54.
|
|
|
The <command>rm</command> command is used to delete files and directories. (<acronym>rm</acronym> is short for <quote>remove</quote>). To delete the file <filename>foo</filename> from the current directory, type: <screen>rm foo</screen>
|
|
|
|
La orden <command>rm</command> se utiliza para eliminar archivos y directorios. (<acronym>rm</acronym> es la abreviatura para <quote>remove</quote>). Para borrar el archivo <filename>foo</filename> del directorio actual, tipo: <screen>rm foo</screen>
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:239(para)
|
|
55.
|
|
|
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-r</command> option (which can also be entered as <command>-R</command> or <command>--recursive</command>). For example, <screen>rm -r foobar</screen> or <screen>rm -R foobar</screen> or <screen>rm --recursive foobar</screen> will remove the directory <filename class="directory">foobar</filename><emphasis> and all of its contents!</emphasis>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:245(para)
|