What is a shell in Linux?
LINUX MODULE 03 QUIZ

Quiz
•
Computers
•
University
•
Medium

DIGVIJAY SINGH THAKUR
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Hardware interface
Software kernel
Command interpreter
Text editor
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the default shell in most Linux distributions?
Bourne Again Shell (bash)
C shell (csh)
Bourne shell (sh)
Korn shell (ksh)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the correct syntax for an if statement in bash?
if [ condition ]; then
if condition: then
if (condition); then
if {condition}; then
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following symbol is used to comment a line in shell scripts?
//
/* */
#
%%
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What file extension is typically used for shell scripts?
.sh
.bash
.txt
.shell
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will the following script output?
i=5
while [ $i -gt 0 ]; do
echo $i
i=$((i-1))
done
5 4 3 2 1
1 2 3 4 5
Infinite loop
Error in syntax
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you access the first argument passed to a shell script?
$arg1
$1
$first
$0
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Lesson 2 System Linux Administrator

Quiz
•
University
15 questions
Got Git?

Quiz
•
University
15 questions
Linux Essentials

Quiz
•
University
10 questions
Part 2 - Command Line

Quiz
•
University
9 questions
ed Hat System Administration I - Test 2B

Quiz
•
University
11 questions
Variables in Scratch

Quiz
•
2nd Grade - University
10 questions
Lesson 2 - Passing Data to Subsystems

Quiz
•
University
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
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