% CST8207 Week 09 Notes – Midterm Review, Midterm Test #2 % Ian! D. Allen – – [www.idallen.com] % Winter 2015 - January to Apil 2015 - Updated Fri Mar 20 12:49:43 EDT 2015 Readings, Assignments, Labs, Tests, and ToDo ============================================ - Read (at least) these things (All The Words): 1. [Week 09 Notes HTML] – this file – **Read All The Words** 2. [List of Commands You Should Know] 3. [Video Tutorials on Lynda.com] - Create your [lynda.com] account and watch [Unix for Mac OS X Users] - **3. Working with Files and Directories** - Hard links 5m 30s - Symbolic links 6m 36s - **5. Commands and Programs** - Disk information commands 6m 8s - df, du, Assignments this week --------------------- Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant. - Read All The Words, Do, and then Submit via Blackboard: - Bonus (optional) [Assignment #04 HTML] – the VIM text editor - Bonus (optional) [Assignment #06 HTML] – Midterm #1 corrections - There is a checking program available to check your file format for this bonus assignment, but only people who Read All These Words will know about it. Wrong format means no marks. - [Assignment #07 HTML] – start-up files, environment, search PATH, quoting, hard and soft links, disk usage - [Assignment #08 HTML] – CentOS virtual server installation - Really do **Read All The Words**. You don’t get a second chance to get it right. Lab work this week ------------------ - Bonus (optional) [Assignment #04 HTML] about VIM has a new due date - Bonus (optional) [Assignment #06 HTML] about Midterm #1 is ready - There is a checking program available to check your file format for this bonus assignment, but only people who Read All These Words will know about it. - [Assignment #07 HTML] is ready (start-up files, environment, search PATH, quoting, hard and soft links, disk usage) - [Assignment #08 HTML] – CentOS virtual server installation - Work on the above assignments in your lab period; ask questions. Upcoming tests and quizzes -------------------------- Read the [Test Instructions] (all the words) before your next midterm test. 1. Second Midterm test: 45 minutes; in class 8am Thursday in Week 9 (March 12) - Midterm Tests take place in your 8am lecture hour, not in your lab period. - Quizzes will be posted based on the practice test. 2. Final Exam: 180 minutes; Tuesday April 21 11am to 2pm in room C144 - Take a bathroom break before you sit down for three hours! ### Midterm Test #2 - Midterm #2 takes place 8am Thursday March 12 (Week 9) in your scheduled lecture hour (not in your lab period). - For full marks, you must read the [Test Instructions] before the test for important directions on how to enter your full name, your answers, your lab (not lecture) section number, and the test version number on the question sheet and the mark-sense forms. - There may be more questions on the test than you can answer in the time allowed; answer the ones you know, first. - A set of practice questions and answers for the first midterm test is posted: [Practice Tests and Answers]. - Blackboard has some quizzes taken randomly from the practice test. See below. ### Quizzes: Midterm #2 Quiz This Blackboard quiz is one of several quizzes in this course. Each midterm and final exam will have an associated Blackboard quiz. See the course outline for the mark weight of all course quizzes, midterm tests, and exams. The Blackboard quizzes are open-book, but the midterm tests and final exam are closed-book. This Blackboard quiz is based on the [Midterm #2 Practice Test] questions that are posted in the [Class Notes]. See the [Week 05 Notes HTML] for details on how the quiz is marked. Midterm Test #2 Analysis (first draft) --------------------------------------- 90/107 people wrote the test. - Number of students who entered their own name incorrectly on the mark-sense form (usually by shortening it): `5/90` *(Your mark is zero until you fix your form.)* - Number of students who had a missing, incorrect, or unrecognized test version number on the mark-sense form: `8/90`. *(Your mark is zero until you fix your form.)* - Number of students who got question `#45` wrong even though the answer was given in the **Test Instructions** printed at the top of the test: `5/90` - Class scores for 90 students: 100 100 100 97.8 97.8 97.8 97.8 97.8 95.6 95.6 95.6 93.3 93.3 91.1 91.1 88.9 88.9 88.9 88.9 86.7 86.7 86.7 86.2 84.4 84.4 84.4 84.4 82.2 82.2 82.2 82.2 82.2 82.2 81.9 81.5 80 77.8 77.8 77.6 75.6 75.6 75.6 75.6 75.4 73.3 73.3 73.3 73.1 71.1 68.9 66.7 66.7 66.7 64.4 64.4 64.4 62.5 62.2 62.2 62.2 60 60 58.5 57.8 55.6 55.6 55.6 53.9 53.3 53.3 48.9 46.7 44.4 40 38.8 35.6 35.6 35.5 33.3 28.9 26.7 26.7 24.4 24.4 24.4 20 20 20 17.8 11.1 #-90: Pass 70 (77.8%) Fail 20 (22.2%) #- 36 A (40.0%) 13 A- 8 A 15 A+ #- 13 B (14.4%) 1 B- 9 B 3 B+ #- 13 C (14.4%) 5 C- 4 C 4 C+ #- 8 D ( 8.9%) 0 D- 6 D 2 D+ #- 20 F (22.2%) 17 F- 1 F 2 F+ #- 90% - 100% 15 *************** #- 80% - 90% 21 ********************* #- 70% - 80% 13 ************* #- 60% - 70% 13 ************* #- 50% - 60% 8 ******** #- 40% - 50% 4 **** #- 30% - 40% 5 ***** #- 20% - 30% 9 ********* #- 10% - 20% 2 ** #- 0% - 10% 0 From the Class Notes link on the Course Home Page ================================================= - Review last week. Did you do everything assigned last week? From the Classroom Whiteboard/Chalkboard ======================================== - Midterm Test #2 is 8am Thursday morning in your regular T119 classroom. - For full marks, you must read the [Test Instructions] before the test for important directions on how to enter your full name, your answers, your lab (not lecture) section number, and the test version number on the question sheet and the mark-sense forms. Real Sysadmin Work ================== Locked out of the Course Linux Server (1 of 2) ---------------------------------------------- Someone again used WinSCP with a blank userid and locked themselves out of the CLS: Mar 8 18:04:51 Accepted password for xxxxxxxx from 135.0.50.48 Mar 8 18:18:22 Invalid user from 135.0.50.48 Mar 8 18:18:38 Failed password for invalid user from 135.0.50.48 Mar 8 18:18:52 Failed password for invalid user from 135.0.50.48 Mar 8 18:19:37 Failed password for invalid user from 135.0.50.48 Mar 8 18:20:13 Invalid user from 135.0.50.48 Mar 8 18:20:33 Failed password for invalid user from 135.0.50.48 Mar 8 18:21:44 refused connect from 135.0.50.48 (135.0.50.48) [Read All The Words] Locked out of the Course Linux Server (2 of 2) ---------------------------------------------- Someone again used WinSCP with a blank userid and locked themselves out of the CLS: Mar 9 19:12:05 Accepted password for xxxxxxxx from 99.245.235.108 Mar 9 19:15:36 Invalid user from 99.245.235.108 Mar 9 19:15:46 Failed password for invalid user from 99.245.235.108 Mar 9 19:15:55 Failed password for invalid user from 99.245.235.108 Mar 9 19:16:16 Failed password for invalid user from 99.245.235.108 Mar 9 19:16:25 Failed password for invalid user from 99.245.235.108 Mar 9 19:16:47 Invalid user from 99.245.235.108 Mar 9 19:17:08 Failed password for invalid user from 99.245.235.108 Mar 9 19:17:55 refused connect from cpe68b6fcf6cc73-cm68b6fcf6cc70.cpe.net.cable.rogers.com (99.245.235.108) [Read All The Words] Why the modern world is bad for your brain ------------------------------------------ *In an era of email, text messages, Facebook and Twitter, we’re all required to do several things at once. But this constant multitasking is taking its toll. Here neuroscientist Daniel J Levitin explains how our addiction to technology is making us less efficient.* Attacks on the Course Linux Server ---------------------------------- - Count the attacks: `fgrep -c "refused connect" /var/log/auth.log` - Another way to count the lines (less efficient): `fgrep "refused connect" /var/log/auth.log | wc` - Only show the last 10 lines: `fgrep 'refused connect' /var/log/auth.log | tail` - See the current list of *evil* host IPs: `less /etc/hosts.evil` * * * * * ![Take Notes in Class] -- | 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 [www.idallen.com]: http://www.idallen.com/ [List of Commands You Should Know]: 900_unix_command_list.html [Video Tutorials on Lynda.com]: 910_lynda_index.html [lynda.com]: http://algonquincollege.com/onlineresources/mobileStudent/lynda.htm [Unix for Mac OS X Users]: http://www.lynda.com/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html [Test Instructions]: 000_test_instructions.html [Practice Tests and Answers]: PRACTICE_TEST_README.html [Midterm #2 Practice Test]: practicetest2.pdf [Read All The Words]: 015_file_transfer.html#locked-out-of-the-cls [Take Notes in Class]: data/remember.jpg "Take Notes in Class" [Plain Text]: week09notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/