SAM MIDTERM EXAM 2025
QUESTIONS AND ANSWERS
Owner - ....ANSWER☑️☑️...-It applies only to the owner of the file or directory; this
will not impact the actions of other users.
Group - ....ANSWER☑️☑️...-It applies only to the group that has been assigned to
the file or directory; it will not affect the actions of other users.
All Users - ....ANSWER☑️☑️...-It applies to all other users on the system; this is the
permission group that you want to watch the most.
Id - ....ANSWER☑️☑️...-It displays user identity.
chmod - ....ANSWER☑️☑️...-· It allows you to modify the access rights of a
file/directory.
umask - ....ANSWER☑️☑️...-It sets the default file permissions.
su - ....ANSWER☑️☑️...-· It allows you to temporarily become the superuser.
sudo - ....ANSWER☑️☑️...-· It allows you to execute a command as another user.
chown - ....ANSWER☑️☑️...-· It allows you to change a file's ownership.
chgrp - ....ANSWER☑️☑️...-· It allows you to change a file's group ownership.
passwd - ....ANSWER☑️☑️...-· It allows you to change a user's password.
ls -l - ....ANSWER☑️☑️...-To view permission settings
- - ....ANSWER☑️☑️...-A regular file
FOR STUDY PURPOSES ONLY ©️ 2025 ALL RIGHTS RESERVED 1
QUESTIONS AND ANSWERS
Owner - ....ANSWER☑️☑️...-It applies only to the owner of the file or directory; this
will not impact the actions of other users.
Group - ....ANSWER☑️☑️...-It applies only to the group that has been assigned to
the file or directory; it will not affect the actions of other users.
All Users - ....ANSWER☑️☑️...-It applies to all other users on the system; this is the
permission group that you want to watch the most.
Id - ....ANSWER☑️☑️...-It displays user identity.
chmod - ....ANSWER☑️☑️...-· It allows you to modify the access rights of a
file/directory.
umask - ....ANSWER☑️☑️...-It sets the default file permissions.
su - ....ANSWER☑️☑️...-· It allows you to temporarily become the superuser.
sudo - ....ANSWER☑️☑️...-· It allows you to execute a command as another user.
chown - ....ANSWER☑️☑️...-· It allows you to change a file's ownership.
chgrp - ....ANSWER☑️☑️...-· It allows you to change a file's group ownership.
passwd - ....ANSWER☑️☑️...-· It allows you to change a user's password.
ls -l - ....ANSWER☑️☑️...-To view permission settings
- - ....ANSWER☑️☑️...-A regular file
FOR STUDY PURPOSES ONLY ©️ 2025 ALL RIGHTS RESERVED 1