Search Header Logo

Bash-Scripting Intro - v0

Authored by Julia Igual

Other

Professional Development

Used 3+ times

Bash-Scripting Intro - v0
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Què és shell en un sistema operatiu?

Un tipus de hardware
Un programa que interpreta comanes
Un llenguatge de programació
Un antivirus

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quin és l'interpret d'ordres predeterminat de gairebé totes les distribucions GNU/Linux?

Python
Bash
Perl
Ruby

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quina és la línia que ha d'incloure un script de Bash per indicar el shell a utilitzar?

#!/bin/bash
#!/usr/bin/sh
#include <stdio.h>
#!/bin/dash

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Com s'exeucta un script de bash des del terminal?

python script.sh
./script.sh
run script.sh
exec script.sh

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quin és l'ordre per fer que un script sigui executable?

chmod +r script.sh
chmod +x script.sh
execute script.sh
bash enable script.sh

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La Sortida estàndard (standard output) d'un programa executat mitjançant shell…

Està assignada al teclat i utilitza el descriptor número 0.
Està assignada a la pantalla i utilitza el descriptor 1.
Està assignada a la pantalla utilitza el descriptor 2.
Està assignada a la pantalla i utilitza el descriptor 0.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quina ordre s'utilitza per mostrar un missatge al terminal?

print
printf
echo
show

Access all questions and much more by creating a free account

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

Already have an account?