|
31.
|
|
|
To navigate to the current user's home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
Para navegar a la carpeta persona actual del usuario, escriba: <screen>cd</screen> o <screen>cd ~</screen>
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:122(para)
|
|
32.
|
|
|
The <command>~</command> character represents the current user's home directory. As shown above, <command>cd ~</command> is equivalent to <command>cd /home/username/</command>. However, when running a command as root (using <command>sudo</command>, for example), <command>~</command> points to <filename class="directory">/root</filename>. When running a <command>cd</command> command with <command>sudo</command>, the full path to the home directory must be given.
|
|
|
|
El carácter <command>~</command> representa la carpeta personal del usuario. Como se muestra arriba, <command>cd ~</command> es equivalente a <command>cd /home/nombre_de_usuario/</command>. Sin embargo, cuando se ejecuta una orden como usuario administrador (o root) (por ejemplo, usando la orden <command>sudo</command>), <command>~</command> entonces apunta a <filename class="directory">/root</filename>. Cuando se utiliza <command>cd</command> con <command>sudo</command>, se debe escribir la localización o dirección completa a la carpeta personal.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:129(para)
|
|
33.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Para ir a un nivel de directorio más arriba, teclee: <screen>cd ..</screen>
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:140(para)
|
|
34.
|
|
|
To navigate up two directory levels, type: <screen>cd ../../</screen>
|
|
|
|
Para ir arriba dos niveles de directorios, teclee: <screen>cd ../../</screen>
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:146(para)
|
|
35.
|
|
|
To navigate to the previous directory (go back), type: <screen>cd -</screen>
|
|
|
|
Para ir al directorio previo (ir atrás), teclee: <screen>cd -</screen>
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:152(para)
|
|
36.
|
|
|
To navigate through multiple levels of directories at once, specify the full directory path. For example, type: <screen>cd /var/log</screen> to go directly to the <filename class="directory">/log</filename> subdirectory of <filename class="directory">/var/</filename>. For another example, typing: <screen>cd ~/Desktop</screen> moves to the <filename class="directory">Desktop</filename> subdirectory inside the current user's home directory.
|
|
|
|
Para navegar a través de varios niveles de carpetas a la vez, especifique la dirección completa de la carpeta. Por ejemplo, escriba: <screen>cd /var/log</screen> para ir directamente a la subcarpeta (o la carpeta que está dentro de) <filename class="directory">/log</filename> de <filename class="directory">/var/</filename>. En otro ejemplo, escribiendo: <screen>cd ~/Escritorio</screen> va hacia la subcarpeta <filename class="directory">Escritorio</filename> que se encuentra dentro de la carpeta personal del usuario.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:158(para)
|
|
37.
|
|
|
ls - list files
|
|
|
|
ls - lista los archivos
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:173(title)
|
|
38.
|
|
|
The <command>ls</command> command outputs a list of the files in the current directory (<acronym>ls</acronym> is short for <quote>list</quote>). For example, typing <screen>ls ~</screen> will display the files that are in the current user's home directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cli/C/cli.xml:173(para)
|
|
39.
|
|
|
Used with the <command>-l</command> option, <command>ls</command> outputs other information along with the filename, such as the permissions on the file, the file's owner, and more.
|
|
|
|
Usado con la opción <command>-l</command>, la orden <command>ls</command> muestra otra información junto con el nombre del archivo, como por ejemplo los permisos, el propietario del archivo, entre otros.
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:180(para)
|
|
40.
|
|
|
Used with the <command>-al</command> options, <command>ls</command> outputs the information associated with the <command>-l</command> option in addition to showing hidden files (<command>a</command> option).
|
|
|
|
Usado con las opciones <command>-al</command>, la orden <command>ls</command> muestra la información asociada con la opción <command>-l</command> y además muestra los archivos escondidos (opción <command>a</command>).
|
|
Translated and reviewed by
Paco Molinero
|
|
|
|
Located in
docs/cli/C/cli.xml:185(para)
|