Search Header Logo

Configuring Permissions Linux 3

Authored by Sandeep Kumar

Computers

University

Used 31+ times

Configuring Permissions Linux 3
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?