16 Questions
Which permission group applies only to the owner of a file or directory?
Owner
What permission type allows a user to modify a file or directory?
Write
Which command allows you to change a file's group ownership?
chgrp
What does the 'id' command display?
User identity
Which file type refers to a device handling data in blocks, like a hard-drive?
Block special file
What does the 'umask' command set?
Default file permissions
What is the binary equivalent of the file mode 'rw- rw- r--'?
000 110 100
When using the 'chown' command with the argument 'nika:users', what ownership changes occur?
Change to user 'nika' and group 'users'
Which command is used to change the group ownership of a file in Linux?
chgrp
In octal notation, what is the permission mode for a file with 'rw- r-- r--' permissions?
644
Which permission type allows a user to read and execute a file but not modify it?
'r-x'
What is the binary equivalent of the file mode 'rw- r-- r--'?
000 110 010
Which file type handles data in blocks, like a hard drive?
'b'
What does the 'su' command allow you to do in Linux?
Switch to another user's identity
What does the 'passwd' command enable users to change in Linux?
'password'
What is the binary equivalent of the file mode '*Property of STI: rw- rw- rw-'?
000 000 011
Test your knowledge on Linux commands such as umask, su, sudo, and chown. Understand how to set permissions and change ownership of files in a Linux environment.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free