
Week 7 PART 2 | UNIX Command Quiz
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Sameer Sah
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for a UNIX command?
$ command [options] [arguments]
$ [options] command [arguments]
$ command [arguments] [options]
$ [arguments] command [options]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -m option in the mkdir command specify?
Maximum file size
Permission mode
Parent directory
Modification time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the whoami command?
Displays current working directory
Displays the username of the current user
Displays the operating system name
Displays process IDs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you type script a1script?
Creates a new script file named a1script
Runs the a1script program
Deletes the script file
Stops an existing script
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a file with the content "This is file two" spanning multiple lines?
echo > file
cat > file
ls > file
touch file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command changes the directory using an absolute pathname?
cd ../../dir
cd /home/user/dir
cd dir
mkdir /dir
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you exit the script session?
exit
logout
close
quit
Create a free account and access millions of resources
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
35 questions
Ms. Excel
Quiz
•
10th Grade - University
30 questions
Programming Fundamentals
Quiz
•
University
30 questions
DA200 Quiz Extravaganza
Quiz
•
University
36 questions
Đề Cương HKII Tin 10
Quiz
•
10th Grade - University
38 questions
7 кл-06
Quiz
•
7th Grade - University
40 questions
Latihan Soal Materi Informatika kelas 8 smt 1
Quiz
•
8th Grade - University
30 questions
AI in Robotics Quiz
Quiz
•
University
30 questions
Soal Ulangan Harian Kecerdasan Artifisial
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
