% Week 05 Notes for CST8207 - Fall 2012 % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Fall 2012 - September to December 2012 - Updated Tue Jan 22 04:16:25 EST 2013 Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 05 Notes HTML] - [Startup Files: .bash\_profile and .bashrc] - read “Non-interactive shells and PS1”. - [File transfer to/from Unix/Linux machines] - [The VI (VIM) Text Editor] - [List of Commands] - Read (All The Words), Do, and Save (but not for hand-in): - [Lab Worksheet #05 ODT] - [Lab Worksheet #05 PDF] - Quizzes will ask you about your answers in your saved worksheets. - Read (All The Words), Do, and then Submit via Blackboard: - [Assignment #05] - Bonus (Optional) Worksheet and Assignment: - This is a Bonus Lab for extra marks. - [Lab Worksheet #06 ODT] - [Lab Worksheet #06 PDF] - Do the Worksheet and create the .verify.txt file for later hand-in as part of Bonus Assignment #06. DUE: noon Monday October 22. - **READ ALL THE WORDS** Midterm Test #1 - Week 5 - Monday October 1 - 15% ================================================== - Midterm test dates are posted on the [Course Home Page]. - Midterm Test #1 (Mon Oct 1) covers: - [Week 02 Notes HTML] - [Assignment #02] - [Week 03 Notes HTML] - [Lab Worksheet #03 ODT] - [Assignment #03] - [Lab Worksheet #04 ODT] - [Assignment #04] - See the [Practice Test #1 PDF] and answer file in the [Class Notes]. - You must read the [Test Instructions] before the test for important directions on how to enter your answers and the test version number on the mark-sense forms. - The first 50 minutes of the two-hour class is for questions; the last 45 minutes are for the midterm test. There may be more questions on the test than you can answer in the time allowed; answer the ones you know, first. Midterm results --------------- Your midterm marks were sent to you by email at noon on Wednesday, October 3. If you didn’t get them, perhaps you didn’t white-list my email addresses. See the [Week 01 Notes HTML]. 100 100 100 100 98.1 98.1 98.1 98.1 98.1 98.1 96.1 94.2 94.2 94.2 94.2 94.2 94.2 92.3 92.3 92.3 92.3 90.4 90.4 88.5 88.5 88.5 86.7 86.5 86.5 86.5 86.5 86.5 86.5 84.8 84.6 84.6 84.6 84.6 84.6 84.6 82.7 82.7 82.7 82.7 82.7 82.7 82.7 82.7 81.9 80.8 80.8 80.8 80.8 79.2 78.8 76.9 76.9 75 75 73.1 73.1 71.2 71.2 69.2 69.2 67.3 67.3 67.3 67.3 67.3 66 66 65.4 64.7 64.6 63.5 63.5 63.5 63.5 63.5 61.5 61.5 60.3 59.6 59.6 59.6 59.6 58.4 57.7 57.7 56.5 55.8 55.8 55.8 55.2 53.8 53.8 51.9 51.9 51.9 51.7 51.4 50.9 50 49 48.1 48.1 48.1 47.1 46.2 46.2 45.2 44.2 41.5 41.5 40 38.5 38.5 38.5 37.7 36.5 35.8 34.6 33.2 32.7 25 - Number of students with incorrect or missing version number: 19 - Number of students who mis-spelled their own name: 3 - Number of students who did not write their name on the sheet: 3 Lecture Notes for This Week =========================== - Review last week. Did you do everything assigned last week? - Send me the Rap video! If you license it for public view, I’ll post it. - videos published: [CST8207 Rap Videos] - any more? Lab Attendance -------------- **Lab Attendance** is recorded but not mandatory. If you fail to show up for a lab, I will record you as “Absent” and I will then have to email you to ask you why you missed your lab and whether you are still in the course. If you email me first, before your lab period, to tell me you won’t be there, I will record your reason and you won’t be listed as “Absent”. Let me know ahead of time when you need to miss a lab. If an employer calls me up and asks me about your reliability, your unexplained absences will count against you. From the Class Notes link on the Course Home Page ------------------------------------------------- - [Startup Files: .bash\_profile and .bashrc] - read “Non-interactive shells and PS1”. - [File transfer to/from Unix/Linux machines] - [The VI (VIM) Text Editor] - [List of Commands] From the Classroom Whiteboard/Chalkboard ---------------------------------------- - Do you know what “nano” means? : ### Your in-class notes go here - take notes in class! ![Einstein: Learning and Teaching] Real Sysadmin Work ================== Some crackers try to fetch the password file from my machine using long strings of parent directories in Web URLs: aku.staff.makson.us - - [15/Oct/2008:21:16:13 -0400] "GET /http://www.1stproducts.com/2007/index.php?content=http://www.toonzone.net/teentitans/index.php?content=releases/soundtrack/tokyo/index/index.php?content=../../../../../../../../../../../../../etc/passwd%00%0D?? HTTP/1.1" 404 914 "-" "libwww-perl/5.813" lincl849.intelfon.com - - [17/Oct/2008:16:50:14 -0400] "GET /cst8129/02f/notes//affiliates/index.php?md=../../../../../../../../../../../../../etc/passwd%00 HTTP/1.1" 404 684 "-" "libwww-perl/5.805" ns228591.ovh.net - - [23/Apr/2012:23:28:50 -0400] "GET /index.php?inc=../../../../../../../../../../../../../../../../../../../../../../../../../etc/passwd%0000 HTTP/1.1" 404 654 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050609 Firefox/1.0.4" -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [Startup Files: .bash\_profile and .bashrc]: 210_startup_files.html [File transfer to/from Unix/Linux machines]: 220_file_transfer.html [The VI (VIM) Text Editor]: 300_vi_text_editor.html [List of Commands]: 900_unix_command_list.txt [Lab Worksheet #05 ODT]: worksheet05.odt [Lab Worksheet #05 PDF]: worksheet05.pdf [Lab Worksheet #06 ODT]: worksheet06.odt [Lab Worksheet #06 PDF]: worksheet06.pdf [Lab Worksheet #03 ODT]: worksheet03.odt [Lab Worksheet #04 ODT]: worksheet04.odt [Practice Test #1 PDF]: practicetest1.pdf [Class Notes]: indexcgi.cgi [Test Instructions]: 000_test_instructions.html [CST8207 Rap Videos]: 000_Rap.html [Einstein: Learning and Teaching]: data/einstein_teach_learn.jpg "Einstein: Learning and Teaching" [Plain Text]: week05notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/