
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
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) $$
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
powershell final

Quiz
•
University
33 questions
SLG ULI Week 7

Quiz
•
University
27 questions
Linux Exam-practice-1

Quiz
•
University
25 questions
ระบบปฏิบัติการ ชุดที่ 1

Quiz
•
University
25 questions
CSC134_Chapter 5: System software

Quiz
•
University
30 questions
PAT 2023 XI

Quiz
•
University
31 questions
Section 7: Security (20-23)

Quiz
•
University
33 questions
Exploring UNIX Fundamentals

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University