CSE105_CAP1_filePermissions

CSE105_CAP1_filePermissions

University

15 Qs

quiz-placeholder

Similar activities

OSSA - SAMBA

OSSA - SAMBA

University

10 Qs

KUIS ASJ KELAS XI

KUIS ASJ KELAS XI

11th Grade - Professional Development

15 Qs

MTA: 98-367 Security Part 1

MTA: 98-367 Security Part 1

KG - Professional Development

20 Qs

OSP201 - Quiz 2

OSP201 - Quiz 2

University

10 Qs

Talent5 - Hỏi đáp

Talent5 - Hỏi đáp

University

15 Qs

ASP. NET QUIZ_1

ASP. NET QUIZ_1

University

10 Qs

File Handling in Python, Serialization in Python

File Handling in Python, Serialization in Python

University

15 Qs

OS - Assessment 09

OS - Assessment 09

University

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