Configuring Permissions Linux 3

Configuring Permissions Linux 3

University

13 Qs

quiz-placeholder

Similar activities

Terminal Basics

Terminal Basics

9th Grade - University

11 Qs

Files and Directories

Files and Directories

University

10 Qs

ICT315- 20SSL6142

ICT315- 20SSL6142

University

10 Qs

Linux_00

Linux_00

University

15 Qs

Mencipta Home Directory

Mencipta Home Directory

12th Grade - University

14 Qs

UNIX Commands

UNIX Commands

University

10 Qs

Linux CLI

Linux CLI

University

11 Qs

OS 10 - File Management

OS 10 - File Management

University

16 Qs

Configuring Permissions Linux 3

Configuring Permissions Linux 3

Assessment

Quiz

Computers

University

Easy

Created by

Sandeep Kumar

Used 25+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?