
Configuring Permissions Linux 3

Quiz
•
Computers
•
University
•
Easy
Sandeep Kumar
Used 29+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Linux Basics Quiz

Quiz
•
University
10 questions
Managing Devices

Quiz
•
9th Grade - University
10 questions
Files and Directories

Quiz
•
University
15 questions
Chapter 13 - UNIX II

Quiz
•
University
16 questions
WLUG Linux CS quiz

Quiz
•
University
10 questions
Intro to Linux Network Management Quiz

Quiz
•
University
10 questions
CSE325_CA1_VIVA_ODD

Quiz
•
University
10 questions
Unit -4

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University