CSE105_CAP1_filePermissions

CSE105_CAP1_filePermissions

University

15 Qs

quiz-placeholder

Similar activities

Linux File Permission

Linux File Permission

University

20 Qs

Surprise

Surprise

University

11 Qs

Linux Lab Assessment 1

Linux Lab Assessment 1

University

18 Qs

Fundamentos de Shell Script

Fundamentos de Shell Script

11th Grade - University

12 Qs

Operating System Quiz

Operating System Quiz

University

20 Qs

Cyber EOP - Rights Permissions By Mr. B

Cyber EOP - Rights Permissions By Mr. B

12th Grade - University

20 Qs

Literasi Komputer

Literasi Komputer

University

14 Qs

7. Linux_chmod_2

7. Linux_chmod_2

11th Grade - University

18 Qs

CSE105_CAP1_filePermissions

CSE105_CAP1_filePermissions

Assessment

Quiz

Computers

University

Medium

Created by

Pushpendra Pateriya

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the chmod command in Linux?

Change file ownership

Modify file permissions

Compress files

Create new directories

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands grants execute permission to the user on script.sh?

chmod u-w script.sh

chmod a+x script.sh

chmod 777 script.sh

chmod u+x script.sh

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does chmod 754 file.txt do?

Sets file.txt permissions to r--r--r--.
Sets file.txt permissions to rw-r--r--.
Sets file.txt permissions to rwxr-x---.
Sets file.txt permissions to rwxr-xr--.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you remove write permission for others on document.txt?

chmod o-w document.txt
chmod a-w document.txt
chmod g-w document.txt
chmod o+r document.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does chmod 644 file.txt do?

Allows only the owner to execute the file

Grants write permissions to the group

Allows everyone to read the file

Grants read and write permissions to the owner, read-only for others

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does chmod a+r file.txt do?

Adds read permission only for the owner

Adds read permission for all users

Removes execute permission from all users
Adds write permission for all users

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does chmod 000 file.txt do?

Makes the file readable

Removes all permissions from everyone

Changes the file permissions to 777

Grants all permissions to the group

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?