Quel shebang est correct ?
TSSR - S04 - Bash

Quiz
•
Computers
•
University
•
Hard
Infra Cyber
Used 29+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
#/bin/bash
#!/bin/bash
#!/bin/zsh
!#/bin/bash
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Quelle variable spéciale contient le code de sortie (d'un script, d'une commande, etc.) ?
$@
$*
$#
$?
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
J'éxecute le script script.sh comme ceci : "./script.sh".
Quel est l'affichage de sortie ?
Sum = +
Sum = 3
Sum = $total
Sum = $1+$2
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Le fichier file.txt contient 10 lignes. Quelle ligne de code affiche uniquement 10 ?
wc < file.txt
wc file.txt
wc -l < file.txt
wc -l file.txt
6.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
En shell bash, quelles commandes permettent de faire une boucle ?
while ... do...done
if ... then ... else ...fi
case ... esac
for ... do...done
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
J'éxecute le script script.sh comme ceci : "./script.sh 3 4".
Quelle est la dernière ligne affichée ?
3 3 4
3 4
3 7
4 7
4 3 4
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
QCM Algorithmes

Quiz
•
University
15 questions
Linux Tools for Developers

Quiz
•
University
10 questions
Olympiade d'informatique

Quiz
•
6th Grade - University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
Got Git?

Quiz
•
University
12 questions
Fundamentos de Shell Script

Quiz
•
11th Grade - University
10 questions
LINUX MODULE 03 QUIZ

Quiz
•
University
18 questions
Entornos de programación

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade