
UNIX Shell Commands Quiz
Authored by vamsi j
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the cd command do in a UNIX shell?
Changes the directory
Displays the current directory
Copies a file
Deletes a file
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a meta character used for filename substitution?
|
&
*
#
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the > operator do in input/output redirection?
Appends output to a file
Redirects input from a file
Redirects output to a file
Redirects output to another command
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How do you combine the output of two commands into one using a pipe?
command1 > command2
command1 | command2
command1
$(...)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you perform arithmetic operations in Bourne Shell?
expr
calc
math
arith
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the if statement in Bourne Shell?
To define a variable
To perform arithmetic operations
To make decisions based on conditions
To run commands in parallel
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you use quoting to prevent a shell from interpreting special characters?
Use double quotes "
Use single quotes '
Use backticks `
Use angle brackets
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
20 questions
PRINTERS
Quiz
•
University
20 questions
Designing Network Infrastructure and Network Security
Quiz
•
KG - University
21 questions
Html dasar
Quiz
•
University
20 questions
PARC Linux Basic Part 2
Quiz
•
University
20 questions
Teknologi WAN XI TKJ
Quiz
•
University
20 questions
Basic of Computer Networks - Quiz1
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
20 questions
Introduction To Computers
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University