COMP 206 Lecture Notes - Lecture 5: File System Permissions, Chmod, Environment Variable

35 views2 pages

Document Summary

Week 3: lecture #5: command line part iii, permissions and. Files belong to a user and a group, usually the creators. Permissions for these files exist on three levels, user, group and all. Files can be accessed via read, write and execute. One can change permissions using the chmod command, using the following abbreviations: In bit form, having a permission enabled in a position in the string is equivalent to a. 1" bit and a disabled permission is equivalent to a 0" bit. When a shell is started, the os setups an environment for the shell, defined by environment variables. Du tells you how much disk space you have. Hostname displays the name of current machine. Passwd is used to set or change password script file records everything that appears on screen to file until command. Which reports the path or location of the given file.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents