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
31 questions
Bash & R

Quiz
•
University
26 questions
POP QUIZ OS

Quiz
•
University
30 questions
Windows Server 2012 R2

Quiz
•
University
30 questions
Basic Linux Quiz

Quiz
•
University
33 questions
Service Management Linux 9

Quiz
•
University
35 questions
Quiz 6 - IT104A - Chapter 8

Quiz
•
University
26 questions
Hacking quiz

Quiz
•
University
25 questions
MAIL MERGE

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade