
UNIX Shell Commands Quiz

Quiz
•
Computers
•
University
•
Medium
vamsi j
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
28 questions
Introduction to Operating systems

Quiz
•
University
20 questions
Hardware Computadoras - Unidad 4

Quiz
•
University
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
20 questions
FINAL EXAM_ITC_BLOCK_A

Quiz
•
University
20 questions
Linux 3-4

Quiz
•
University
20 questions
Socket Programming

Quiz
•
10th Grade - University
22 questions
System Software (CSC098)

Quiz
•
University
20 questions
2023 1 Simulado Informática

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