
unix shell commands
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Akhilesh singh
Used 120+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a shell script?
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) $$
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
IoT Quiz - 1
Quiz
•
University - Professi...
25 questions
The SemiColons Quiz
Quiz
•
University
25 questions
Information assurance and security
Quiz
•
University
25 questions
Cys quiz 1
Quiz
•
University
25 questions
GDSC FET Jain University Study Jam 106
Quiz
•
University
25 questions
Script_programming_test
Quiz
•
University
25 questions
Microsoft Word Quiz
Quiz
•
University
30 questions
Komputer Jaringan Dasar
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
