
Configuring Permissions Linux 3
Authored by Sandeep Kumar
Computers
University
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the octal representation for the permission 'rw- r-- ---'?
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
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
10 questions
6-文件操作
Quiz
•
University
15 questions
MS. Excel
Quiz
•
12th Grade - University
14 questions
LA6.C6: Graphics Window
Quiz
•
9th Grade - University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Python Quiz Techno India
Quiz
•
University
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
11 questions
Digital Mindset
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade