
Fundamentos de Shell Script
Authored by CARLOS CHELONI
Computers
11th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es un Shell Script?
Un Shell Script es un archivo que contiene comandos para ser ejecutados por un intérprete de comandos.
Un Shell Script es un lenguaje de programación orientado a objetos.
Un Shell Script es un tipo de virus informático.
Un Shell Script es un programa de diseño gráfico.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se define una variable en Bash?
Una variable en Bash se define como 'nombre=valor'.
nombre=valor;
nombre:valor
valor:nombre
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué comando se usa para dar permisos de ejecución a un script?
chmod +x nombre_del_script
exec nombre_del_script
chmod 777 nombre_del_script
setperm nombre_del_script
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se ejecuta un script en Bash?
Utiliza 'sh script.sh' sin ruta
Usa './nombre_del_script.sh' o 'bash nombre_del_script.sh'.
Ejecuta 'script.sh' sin permisos
Usa 'run script.sh'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se imprime el valor de una variable en Bash?
display $nombre_variable
echo $nombre_variable
write $nombre_variable
print $nombre_variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué símbolo se usa para comentar una línea en un script de Bash?
//
#
;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué comando permite leer una entrada del usuario?
readInput()
fetchInput()
input()
getUserInput()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?