What is a shebang?
Intro to Scripting

Quiz
•
Computers
•
11th Grade
•
Medium

j s
Used 9+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A line at the end of a bash file, signalling the end of a script
A line at the top of a script, signalling the interpreter the computer should use
It's another word for a command in the bash language.
It's the term for when you expand a bash variable with $variablename
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call the line at the top of a script that tells the computer what interpreter to use?
"command line"
"shell"
"shebang"
"modeline"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the first two characters in a shebang?
#!
??
!*
#*
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does cat do?
Prints one or more files to standard output
Makes a cat run across the screen
Runs binaries
Opens a file for editing
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What command lists contents in a directory?
ls
list
dir
cat
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the shebang is omitted from a script?
The script will not run
The script will run with the default interpreter
The script will ask the user to specify an interpreter
The script will generate an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is vi?
A text editor
A type of shell
A command to execute files
The command to change file permisisons
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Software: Programming Languages

Quiz
•
10th - 12th Grade
15 questions
2.5 Languages and IDEs

Quiz
•
10th - 11th Grade
10 questions
Quiz 9 (15.09.2021)

Quiz
•
1st - 12th Grade
8 questions
moudel

Quiz
•
11th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
14 questions
8.1 Programming Overview

Quiz
•
9th - 11th Grade
12 questions
Uji Pengetahuan Sistem Operasi Linux

Quiz
•
9th - 12th Grade
15 questions
Quiz on Variables in Programming

Quiz
•
11th Grade - 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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

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

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University