What is the octal representation for the permission 'rw- r-- ---'?

Configuring Permissions Linux 3

Quiz
•
Computers
•
University
•
Easy
Sandeep Kumar
Used 25+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
640
550
770
440
Answer explanation
The octal representation for the permission 'rw- r-- ---' is 640. In this permission set, the owner has read and write (rw-) permissions, which is 6 in octal. The group has read (r--) permission, which is 4 in octal. Others have no permissions (---), which is 0 in octal. So, the octal representation is 640.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to set the default permissions on newly created files and directories?
umask
tmask
usermask
rmask
Answer explanation
The correct answer is 'umask'. The 'umask' command is used to set the default permissions on newly created files and directories in Unix-based systems. It helps in controlling the access permissions for files and directories, ensuring that only authorized users can access them. The other options, 'tmask', 'usermask', and 'rmask', are not valid commands for setting default permissions.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to modify permissions on file / directories?
chmod
umod
changemod
gmod
Answer explanation
The correct command to modify permissions on files and directories is 'chmod'. The other options, 'umod', 'changemod', and 'gmod', are not valid commands for this purpose. 'chmod' stands for 'change mode' and is used to set or modify the access permissions of files and directories in Unix and Unix-like operating systems.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change ownership for a file or directory?
chown
chngown
changeown
own
Answer explanation
The correct command to change ownership for a file or directory in Unix-like operating systems is 'chown'. The other options 'chngown', 'changeown', and 'own' are not valid commands. 'chown' stands for 'change owner' and is used to change the owner and group of files, directories and links.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change group ownership of a file or directory?
chgrp
changegrp
groupch
groupchange
Answer explanation
The correct command to change group ownership of a file or directory is 'chgrp'. This command allows you to modify the group associated with a file or directory, making it easier to manage permissions and access control. The other options, 'changegrp', 'groupch', and 'groupchange', are not valid commands for this purpose.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to list attributes of files or directory?
lsattr
attrls
listattr
list
Answer explanation
The correct answer to the question 'What command is used to list attributes of files or directory?' is 'lsattr'. This command is used in Unix and Linux based systems to list the attributes of files and directories. The other options 'attrls', 'listattr', and 'list' are not valid commands for this purpose.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to change the attributes of files or directories?
chattr
attrlch
chngattr
attribute
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Basic Linux Commands

Quiz
•
University
18 questions
RHA Sample 2024

Quiz
•
University
10 questions
Managing User Accounts

Quiz
•
9th Grade - University
10 questions
OSP201 - Quiz 1

Quiz
•
University
15 questions
Chapter 13 - UNIX II

Quiz
•
University
15 questions
Linux Essentials

Quiz
•
University
10 questions
Files and Directories

Quiz
•
University
11 questions
Linux Commands

Quiz
•
University
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
47 questions
2nd Semester 2025 Map Final

Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3

Quiz
•
KG - University
24 questions
Cartoon Characters

Quiz
•
KG - University
9 questions
What is your personality?

Quiz
•
University
10 questions
El Presente

Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology

Quiz
•
KG - University