Final Review Notes

Transcribed by K. Dunkel

chmod and Writing to the Web

When writing to the web, know the correspondence between the web and the directory:

http://copland.udel.edu/~username/cisc105/proj2/data.txt

~/username/public_html/cisc105/proj2/data.txt

~public_html/cisc105/proj2/data.txt

If you logged in as "username" ~username/ and ~/ mean the same thing

NOTE: ~/username is NOT the same as ~/ or ~username/

Making permissions right

chmod command changes the mode

mode = permission mode

You can see the permission mode with ls -l

d|rwx|rwx|rwx|

directory or file (ignored for chmod) | owner (u) | group (g) | everyone else (a)

chmod a+rx filename.html and

chmod 755 filename.html do the same thing

755 -> 111 101 101 -> changes to rwx r-x r-x (1's turn option on, 0's turn it off)

Remember: public_html is NOT part of the URL, only the directory

Remainder of notes are in the file 12.14.txt

Other notes submitted by students