Herramientas de usuario

Herramientas del sitio


informatica:certificaciones:lpic:lpic-1:103_gnu_and_unix_commands

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
informatica:certificaciones:lpic:lpic-1:103_gnu_and_unix_commands [2022/03/10 20:40] – [Parte III] tempwininformatica:certificaciones:lpic:lpic-1:103_gnu_and_unix_commands [2022/03/13 18:21] (actual) – [Parte III] tempwin
Línea 34: Línea 34:
  
 <code> <code>
-cut -f2 /root/tmp/test.txt+cut -c 2 /root/tmp/test.txt
 </code> </code>
  
Línea 92: Línea 92:
  
 <code> <code>
-sort -u /root/test.txt+sort /root/test.txt | uniq
 </code> </code>
  
Línea 130: Línea 130:
  
 ===== Test ===== ===== Test =====
 +
 +**Which of the following are alternatives to the 'bash' shell? (Choose all that apply.)**
 +
 +  * ''cash''
 +  * ''tcl''
 +  * ''zsh'' (**Solución**)
 +  * ''ksh'' (**Solución**)
 +
 +**Which of the following commands can take a text stream and prepend each line with a line number?**
 +
 +  * ''wc''
 +  * ''list''
 +  * ''expand''
 +  * ''nl'' (**Solución**)
 +
 +**Which of the following commands will take the contents of a CD-ROM image and create a local copy in a single file?**
 +
 +  * ''dd if=/media/cdrom of=/tmp/cdrom.iso''
 +  * ''dd of=/dev/sr0 if=/tmp/cdrom.iso''
 +  * ''dd if=/dev/cdrom.iso of=/tmp/sr0''
 +  * ''dd if=/dev/sr0 of=/tmp/cdrom.iso'' (**Solución**)
 +
 +**Which of the following files contained in a user's directory will execute when they connect through a login shell?**
 +
 +  * ''bashrc''
 +  * ''.bashrc'' 
 +  * ''.login_shell''
 +  * ''.bash_profile'' (**Solución**)
 +
 +**You can return to your home directory from any other directory on the system with the ''cd ~'' command.**
 +
 +  * Verdadero (**Solución**)
 +  * Falso 
informatica/certificaciones/lpic/lpic-1/103_gnu_and_unix_commands.1646941216.txt.gz · Última modificación: por tempwin