Card Set Information
Tech Unix Linux
Basic linux commands
What three items can start a users rights line and what do they mean?
d, -, or l. A d indicates a directory, a dash (-) indicates a file, and an l indicates a link.
What are the three file permissionas and their abbreviations?
(read, write, or execute).
Command to change file permissions?
chmod (change mode)
What are the three groups of people permissions can be made to?
Yourself, Group, and Other. u g o
Add a permission for you to write (include the command)
chmod u+w filename
remove a permission for you to read and write (include the command)
chmod u-rw filename
View the rights for all the files in a directory
add permissions of read write execute to a cgi folder for you, the group and otherers
chmod guo+rwx cgi
Numeric permissions are set in what order?
UGO (e.g. 432)
Numeric values for read write execute
4 = Read, 2 = Write, 1 = eXecute
What does this mean? 743
7 4+2+1 Read Write Execute for User
4 Read for group
3 Write and execute for others
wild card for one letter
? as in ls a? will return everything that has a and another single character (am, a1, etc.)