Manuel Lustres
Quiz by , created more than 1 year ago

Examen Linux Essentials Quiz on Linux - Unidad 08 Examen (Español), created by Manuel Lustres on 23/02/2016.

19399
5
1

GoConqr Review

Magnífico test para poner a prueba todos tus conocimientos sobre la unidad 8 de Linux. Sabes ¿a dónde se envían por defecto los mensajes de error generados por los comandos? Descubrelo aquí chequeando tus respuestas al finalizar.
Manuel Lustres
Created by Manuel Lustres about 8 years ago
Close

Linux - Unidad 08 Examen (Español)

Question 1 of 25

1

El comando _____ normalmente se ejecuta todos los días para actualizar la base de datos de todos los archivos que están en el sistema.

Select one of the following:

  • search

  • Updatedb

  • locate

  • find

Explanation

Question 2 of 25

1

¿Donde se envían por defecto los mensajes de error generados por los comandos?

Select one of the following:

  • STDERR

  • STDOUT

  • STDIN

  • Log files / Archivos de registro

Explanation

Question 3 of 25

1

Un comando exitoso imprimirá su salida en STDOUT.
¿Verdadero o falso?

Select one of the following:

  • Verdadero

  • Falso

Explanation

Question 4 of 25

1

¿Cuál de los siguientes comandos dirigirá mensajes de error al archivo error.log?
(escoger dos)

Select one or more of the following:

  • ls /root 2> error.log

  • ls /root &> error.log

  • ls /root > error.log

  • ls /root $> error.log

Explanation

Question 5 of 25

1

Una tubería le permite ...

Select one of the following:

  • ... varios tipos de comandos en una sola linea.

  • ... mandar la salida de un comando a otro.

  • ... mandar la misma entrada a varios comandos.

  • ... mandar la salida de un comando a un archivo.

Explanation

Question 6 of 25

1

El Canal #2 es:

Select one of the following:

  • STDOUT

  • STDIN

  • STDERR

  • STDALL

Explanation

Question 7 of 25

1

¿Cuál de los siguientes comandos agregará su salida a output.file?

Select one of the following:

  • echo Testing -> output.file

  • echo Testing > output.file

  • echo Testing >> output.file

  • output.file < echo Testing

Explanation

Question 8 of 25

1

¿Qué opción del comando head mostrará sólo las primeras 5 líneas de un archivo?

Select one of the following:

  • -l 5

  • No es necesario; head muestra solamente 5 líneas de forma predeterminada.

  • -n

  • -n 5

Explanation

Question 9 of 25

1

El comando grep ...

Select one of the following:

  • ... mostrará todas las líneas en un archivo que contiene la expresión regular especificada.

  • ... mostrará los números de línea en un archivo que contiene una expresión regular especificada.

  • ... no distingue entre mayúsculas y minúsculas.

  • ... mostrará todas las líneas que comienzan con la expresión regular especificada.

Explanation

Question 10 of 25

1

El comando grep puede utilizarse con caracteres glob / globales.
¿Verdadero o falso?

Select one of the following:

  • Verdadero

  • Falso

Explanation

Question 11 of 25

1

¿Cuál de los siguientes comandos mostrará sólo las líneas que comienzan con start?

Select one of the following:

  • grep $start file.txt

  • grep ^start file.txt

  • grep *start file.txt

  • grep \start file.txt

Explanation

Question 12 of 25

1

¿Cuál de los siguientes comandos mostrará sólo las líneas que comienzan con test?

Select one of the following:

  • grep *test file.txt

  • grep ^test file.txt

  • grep $test* file.txt

  • grep &test file.txt

Explanation

Question 13 of 25

1

¿Cuál de los siguientes comandos mostrará líneas que contienen start o end?

Select one of the following:

  • egrep start&end file.txt

  • egrep (start|end) file.txt

  • egrep 'start|end' file.txt

  • egrep start end file.txt

Explanation

Question 14 of 25

1

¿Cuál de los siguientes comandos se puede utilizar para desplazarse a través de un archivo de texto?
(escoger dos)

Select one or more of the following:

  • more

  • some

  • less

  • cat

Explanation

Question 15 of 25

1

El comando find puede buscar archivos basándose en el tamaño del archivo.
¿Verdadero o falso?

Select one of the following:

  • Verdadero

  • Falso

Explanation

Question 16 of 25

1

¿Cuál de los siguientes comandos busca archivos para determinar su ubicación?

Select one of the following:

  • locate

  • where

  • find

  • search

Explanation

Question 17 of 25

1

¿Qué opción para el comando cut se utiliza para especificar un delimitador?

Select one of the following:

  • -D

  • -d

  • -f

  • =

Explanation

Question 18 of 25

1

¿Qué opción para el comando cut se utiliza para especificar que campos mostrar?

Select one of the following:

  • #

  • -D

  • -d

  • -f

Explanation

Question 19 of 25

1

¿Qué opción para el comando wc imprimirá el número de líneas en un archivo?

Select one of the following:

  • -C

  • -l

  • -w

  • -L

Explanation

Question 20 of 25

1

¿Qué opción para el comando wc imprimirá el número total de palabras en un archivo?

Select one of the following:

  • -L

  • -l

  • -w

  • -C

Explanation

Question 21 of 25

1

¿Qué comando se puede utilizar para mostrar los números de línea?

Select one of the following:

  • num

  • nl

  • ln

  • sort

Explanation

Question 22 of 25

1

El comando echo "text" > file.txt creará el archivo file.txt si no existiera.
¿Verdadero o falso?

Select one of the following:

  • Verdadero

  • Falso

Explanation

Question 23 of 25

1

El comando echo:

Select one of the following:

  • Copia el flujo de entrada al de salida

  • Se utiliza para la asignación de variables

  • Testea una variable para copiarla

  • Copia las variables desde una a otra

  • Se utiliza para la salida de texto por consola

Explanation

Question 24 of 25

1

¿Qué comandos se puede utilizar para ordenar alfabéticamente las líneas de list.file y lo mostrará por pantalla?
(escoger dos)

Select one or more of the following:

  • sort < list.file

  • cat list.file >> sort

  • cat list.file | sort

  • echo list.file > sort

Explanation

Question 25 of 25

1

El comando echo "text" > file.txt no sobrescribirá el archivo file.txt si ya existiera.
¿Verdadero o falso?

Select one of the following:

  • Verdadero

  • Falso

Explanation