What is a shell script?

unix shell commands

Quiz
•
Computers
•
University
•
Medium
Akhilesh singh
Used 120+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
group of commands
a file containing special symbols
a file containing a series of commands
group of functions
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Shell scripts need to be saved with an extension .sh .
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The first line in any shell script begins with a _____
a) &
b) !
c) $
d) #
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To run the script, we should make it executable first by using _____
a) chmod +x
b) chmod +r
c) chmod +w
d) chmod +rwx
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which command is used for making the scripts interactive?
a) ip
b) input
c) read
d) write
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The first argument is read by the shell into the parameter ___
a) 1$
b) $3
c) $$
d) $1
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The complete set of positional parameters is stored in ______ as a single string.
a) $n
b) $#
c) $*
d) $$
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
220-1002 A+ 25-50

Quiz
•
University
30 questions
Midterm Quiz | CSC 325 Operating System Quiz

Quiz
•
University
30 questions
Programming in Python - Unit III

Quiz
•
University
26 questions
Hacking quiz

Quiz
•
University
28 questions
ICT test 5

Quiz
•
University
30 questions
Basic Linux Quiz

Quiz
•
University
25 questions
QUIZ 4

Quiz
•
University
30 questions
Linux Quiz (RHCSA)

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