
linux midterm

Quiz
•
Other
•
10th Grade
•
Medium
madpanda .
Used 2+ times
FREE Resource
69 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The /tmp directory is a temporary directory designed as a location where any user can create a temporary file. True or False?
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sticky bit permission…
…prevents others from overwriting files they don’t own in common directories.
…sets the group ownership of any new file created in a directory.
…changes the group ownership of existing files in a directory.
…prevents others from removing files they don’t own from a common directory.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will set the sticky bit on /shared ?
chmod 6777 /shared
chmod 1777 /shared
chmod 2777 /shared
chmod 4777 /shared
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The setuid permission…
…allows a command to be run as the file owner.
…reports the output of a script to the owner.
…prevents the owner of a file from being changed.
…allows files in a directory to be manipulated as by the directory owner.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will set setuid for the /usr/bin/program?
None of the above
chmod 2755 /usr/bin/program
chmod 1755 /usr/bin/program
chmod 4755 /usr/bin/program
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The setgid permission… (choose two)
…prevents the group owner of a file from being changed.
…can only be set on files.
…allows a command to be run as the group owner of the file.
…allows files created in a directory to be owned by the group that owns the directory.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will set setgid on /shared ?
chmod 2777 /shared
chmod 1777 /shared
chmod 7777 /shared
None of these options are correct
chmod 4777 /shared
Create a free account and access millions of resources
Similar Resources on Wayground
70 questions
Heroes of Olympus

Quiz
•
5th - 12th Grade
66 questions
IHS JROTC Midterm 2023-2024

Quiz
•
9th - 12th Grade
72 questions
Ôn Thi Học Kỳ 2 Môn Tin Học 10

Quiz
•
10th Grade
65 questions
Economics Test 6 (Final Exam)

Quiz
•
9th - 12th Grade
70 questions
BTEC DIT Review Topic A 1-3

Quiz
•
9th - 10th Grade
71 questions
Economics Final Exam - The Thunderdome

Quiz
•
10th - 12th Grade
72 questions
Ninjago

Quiz
•
KG - Professional Dev...
65 questions
(OBJECTIVE #3) COMP TIA A+ CORE 1

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade