Fundamentos de Shell Script

Fundamentos de Shell Script

11th Grade

12 Qs

quiz-placeholder

Similar activities

Programación II Parte 5

Programación II Parte 5

University

10 Qs

CSS background, border

CSS background, border

11th Grade

10 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

Internet seguro

Internet seguro

8th Grade - University

10 Qs

Javascript

Javascript

University

12 Qs

Baze de date-Design

Baze de date-Design

12th Grade

10 Qs

Los periféricos del computador

Los periféricos del computador

1st Grade - Professional Development

9 Qs

Fundamentos de Shell Script

Fundamentos de Shell Script

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

CARLOS CHELONI

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?