wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Qüestionari E1 i E2

Total questions: 14

Worksheet time: 9mins

Name
Class
Date
1.

What are the three types of Linux file permissions?

a)

Read, write, deny

b)

Read, write, execute

c)

Read, Modify, Change

d)

Open, Close , Corrupt

2.

What command can you use to change the owner of a file in Linux?

a)

chowner

b)

chgrp

c)

chown

d)

changeowner

3.

What is the command to change file permissions in Linux?

a)

chmod

b)

chown

c)

rm

d)

cp

4.

How do you add execute permission for owner and group in a file?

a)

chmod +x filename

b)

chmod +w filename

c)

chmod +r filename

d)

chmod +e filename

5.

What is the permission code for read and execute permission for owner, read permission for group, and no permission for others?

a)

777

b)

757

c)

755

d)

720

6.

What is the permission code for read, write, and execute permission for owner, no permission for group, and no permission for others?

a)

755

b)

700

c)

541

d)

666

7.

How do you remove all permissions for others in a file?

a)

chmod o+rwx filename

b)

chmod o-rwx filename

c)

chmod o=rwx filename

d)

chmod o-rwx all files

8.

In the octal representation of permissions, what does the number '7' represent?

a)

Read and write

b)

Read, write, and execute

c)

Write and execute

d)

Execute only

9.

If a file has permissions set to 644, what permissions does the group have?

a)

Read and write

b)

Read only

c)

Write only

d)

Execute only

10.

How would you change the permissions of a file to allow the owner to read and write, the group to read, and others to have no permissions using chmod?

a)

chmod 640 filename

b)

chmod 750 filename

c)

chmod 644 filename

d)

chmod 600 filename

11.

A file has permissions set to 755. What does this mean for the 'others' category?

a)

No permissions

b)

Read and execute

c)

Read, write, and execute

d)

Write and execute

12.

Which chmod command sets the "other" permissions on a file to read, write, and execute?

a)

A) chmod 776 file

b)

B) chmod 777 file

c)

C) chmod 775 file

d)

D) chmod 774 file

13.

Which permission allows a user to list a directory's contents in Linux?

a)

Read (r)

b)

Write (w)

c)

Execute (x)

d)

None

14.

764 File Permission means?

a)

Everyone can read,write and execute.

b)

Everyone can read, group can execute only and the owner can read and write.

c)

Everyone can read, write and execute.

d)

Every one can read, group including owner can write, owner can execute.