COMP 206 Chapter Notes - Chapter 2.5: Javac, Telnet, Rlogin
Document Summary
Chmod (file security privileges): unix command used to assign security levels and access rights, chmod switch filename, where switch specifies the security level and access right for a file or directory. Filename is the name of the file or directory: switches come in the following forms, level + access. Takes away access: level = access. Overwrites privileges to the new access: where, level is the security level assignment for the file or directory, access is the file access assignment for the file or directory, where, level can have the values: G for shared (group: access can have the values r for read-only. X for execute-only: example, $ chmod a+rwx letter. doc. Will make the file letter. doc publicly accessible for reading, writing, and executing by any user logged in. History: history command, displays all the commands you recently entered with id numbers, !id number, executes one of the commands you recently entered using the id.