NEW
Font size
WorksheetsQüestionari E1 i E2
Total questions: 14
Worksheet time: 9mins
What are the three types of Linux file permissions?
Read, write, deny
Read, write, execute
Read, Modify, Change
Open, Close , Corrupt
What command can you use to change the owner of a file in Linux?
chowner
chgrp
chown
changeowner
What is the command to change file permissions in Linux?
chmod
chown
rm
cp
How do you add execute permission for owner and group in a file?
chmod +x filename
chmod +w filename
chmod +r filename
chmod +e filename
What is the permission code for read and execute permission for owner, read permission for group, and no permission for others?
777
757
755
720
What is the permission code for read, write, and execute permission for owner, no permission for group, and no permission for others?
755
700
541
666
How do you remove all permissions for others in a file?
chmod o+rwx filename
chmod o-rwx filename
chmod o=rwx filename
chmod o-rwx all files
In the octal representation of permissions, what does the number '7' represent?
Read and write
Read, write, and execute
Write and execute
Execute only
If a file has permissions set to 644, what permissions does the group have?
Read and write
Read only
Write only
Execute only
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?
chmod 640 filename
chmod 750 filename
chmod 644 filename
chmod 600 filename
A file has permissions set to 755. What does this mean for the 'others' category?
No permissions
Read and execute
Read, write, and execute
Write and execute
Which chmod command sets the "other" permissions on a file to read, write, and execute?
A) chmod 776 file
B) chmod 777 file
C) chmod 775 file
D) chmod 774 file
Which permission allows a user to list a directory's contents in Linux?
Read (r)
Write (w)
Execute (x)
None
764 File Permission means?
Everyone can read,write and execute.
Everyone can read, group can execute only and the owner can read and write.
Everyone can read, write and execute.
Every one can read, group including owner can write, owner can execute.
