Shared Flashcard Set

Details

Unit4-bp
Linux+ Certification
17
Computer Science
Professional
02/21/2012

Additional Computer Science Flashcards

 


 

Cards

Term
The _____ command prints a list of groups you belong to. The _____ command prints the same list, but includes group ID numbers (GIDs).
Definition
groups,id
Term
Use the ______ command to change your primary group. After running this command new files are assigned to the alternate group.
Definition
newgrp
Term
Only the ____ user can change ownership of a file.
Definition
root
Term
When using chown or chgrp the -R option specifies what?
Definition
Make permissions changes recursively.
Term
Which is the correct syntax for chown to make bill the owner of invoice.odt?
(a) chown bill invoice.odt
(b) chown invoice.odt bill
Definition
(a) chown bill invoice.odt
Term
The mode contains three sections that describe permissions assigned to ______, _____, and _____.
Definition
users (owners), groups, others
Term
rw-rw---- will allow what permissions for the group?
Definition
read, write
Term
To change permissions to a file or directory use the _____ command.
Definition
chmod
Term
What is the result of the following command?
chmod a=x stupidtasks.sh
Definition
Sets execute permission for user, group and others for the stupidtasks.sh file.
Term
Using the numeric syntax for chmod, what are the numeric notations to represent read, write and execute?
Definition
read=4, write=2, execute=1
Term
What is the result of the following command?
chmod 644 newfile.txt
Definition
assigns user read and write permission, group read permission and others read permission to the newfile.txt file.
Term
By default new files are not give the ______ permission.
Definition
execute
Term
By default new directories are assigned ___ permission (no umask).
Definition
777 (read,write,execute) for user, group and others
Term
You can temporarily change the unmask for your system using the _____ command.
Definition
umask
Term
What are the three special permissions?
Definition
SUID (Set User ID), SGID (Set Group ID) and Sticky bit
Term
All three special permissions require the ______ permission to work properly.
Definition
execute
Term
What special permission(s) will the following command give to the /home/public/tmp directory?
chmod o+t /home/public/tmp
Definition
Sticky bit
Supporting users have an ad free experience!