
Week 7 PART 2 | UNIX Command Quiz
Authored by Sameer Sah
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
30 questions
Warmup - Python - Machine Learning
Quiz
•
University
40 questions
Trắc nghiệm củng cố kiến thức lớp 11 HK2
Quiz
•
11th Grade - University
40 questions
Ujian Akhir Semester Informatika
Quiz
•
7th Grade - University
30 questions
Quiz Perangkat Keras dan Lunak
Quiz
•
10th Grade - University
30 questions
Quiz Pertemuan 1: Pengantar Pengembangan Web
Quiz
•
University
40 questions
Infinity Code Nexus
Quiz
•
University
40 questions
Quiz Editing Video
Quiz
•
12th Grade - University
30 questions
Kelas 8 - Halaman 31 (PTS)
Quiz
•
8th Grade - 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 Information Technology (IT)
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