CSE105_CAP1_filePermissions

CSE105_CAP1_filePermissions

University

15 Qs

quiz-placeholder

Similar activities

Linux/PowerShell

Linux/PowerShell

University

15 Qs

ICT315- 20SSL6142

ICT315- 20SSL6142

University

10 Qs

WLUG Linux CS quiz

WLUG Linux CS quiz

University

16 Qs

28thOS

28thOS

University

10 Qs

Quiz_03

Quiz_03

University

15 Qs

7. Linux_chmod_2

7. Linux_chmod_2

11th Grade - University

20 Qs

POST-TEST SO KELAS A & B - 2022

POST-TEST SO KELAS A & B - 2022

University

15 Qs

Comandos Linux

Comandos Linux

University

19 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?