% CST8207 Week 06 Notes - midterm review, `cp`, search PATH, talking in class % Ian! D. Allen - - [www.idallen.com] % Fall 2013 - September to December 2013 - Updated Tue Oct 15 11:20:13 EDT 2013 Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 06 Notes HTML] - this file - **Read All The Words** - [Search PATH] - [Quoting] - [List of Commands You Should Know] - Using your [lynda.com] account, watch [Unix for Mac OS X Users] - **3. Working with Files and Directories** - Naming files 5m 41s - use quotes to surround names with blanks or special characters - **5. Commands and Programs** - The PATH variable 4m 13s - **7. Configuring Your Working Environment 41m 28s** - Setting the PATH variable 6m 10s - using double quotes instead of single quotes Midterm Test #1 and Quiz ------------------------- - Midterm #1 took place Monday, October 7 in the last hour of your lecture. - 55 students (out of 127) did not follow the [Test Instructions] - [302 practice Midterm Test #1 questions] are available along with an answer key in the [Class Notes]. - A Quiz on these 302 questions is available on Blackboard; see [Week 05 Notes HTML] for details on the Quiz. Number of students who did the quiz: 120 / 139\ 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 9.8 9.6 9.6 9.4 9.4 9.4 9.4 9.4 9.4 9.2 9.2 9.2 9.2 9.2 9 9 9 8.8 8.8 8.8 8.8 8.6 8.6 8.4 8.4 8.4 8.2 8.2 8.2 8.2 8 8 8 8 8 8 7.8 7.8 7.8 7.8 7.6 7.6 7.4 7.4 7.4 7.4 7.2 7 7 7 7 6.6 6.6 6.4 6.2 5.8 5.8 5.8 5.6 5.6 5.6 5.4 5.4 5.2 5.2 5 4.8 4.4 4.2 4.2 4.2 4 4 3.8 3.2 3 2.8 2.4 2.4 2.4 2.4 2 2 1.8 1.8 1.6 1.6 1.6 1.4 1.4 1.4 1.2 1.2 1.2 0.8 0.6 0.6 0.6 0.4 0.4 0 0 ![Midterm 1 Quiz] Midterm Test #1 Analysis ------------------------- It took me several hours to prepare your midterm test for marking because 55 students out of 127 did not follow the [Test Instructions]: 26 did not put correct lab section number on question sheet 18 did not fill in correct test version numbers 16 did not spell name correctly on mark sense form 6 did not write numbers above version bubbles 6 did not fill in bubbles for version number 3 did not fill in correct test version number 2 did not write letters/numbers above name or version bubbles 2 did not fill in bubbles for name 1 did not put name on question sheet 1 did not put last name on question sheet 1 did not fill in answer bubbles beyond #10 1 did not clearly write letters/numbers above name or version bubbles - Number of students who entered their own name incorrectly on the mark-sense form (usually by shortening it): `16` - Number of students who got question #46 wrong even though the answer was given in the Test Instructions printed at the top of the test: `32` - Class scores for 127 (out of 139) students: 93.5 91.3 91.3 89.1 89.1 88.6 87 87 87 84.8 84.8 84.8 84.3 84.3 84.3 82.6 82.6 82.6 82.6 80.4 80.4 80.4 80.4 80.1 80.1 80.1 78.3 78.3 78.3 78.3 76.1 73.9 73.9 73.8 73.8 73.2 71.7 71.7 71.7 71.7 71.7 69.6 69.6 69.6 69.5 67.4 67.4 65.4 65.2 65.2 65.2 63.3 63 63 61.2 61.2 61.2 60.9 60.9 60.9 59 58.7 58.7 56.5 56.5 55.4 54.3 52.7 52.2 52.2 50 50 49.5 49 48.5 48.5 48.5 48.5 45.7 45 44.3 43.5 43.5 42.9 42.2 41.3 41.3 40.9 40.1 40.1 40.1 40.1 39.1 38 38 37 37 33.7 32.6 31.6 31.6 30.7 30.4 29.5 28.3 27.4 27.4 25.3 24.5 23.9 23.9 23.2 23.2 22.5 22.5 21.1 21.1 21.1 20.4 20.4 19.6 19 18.4 16.9 14.3 12.7 8.7 - You can see the errors in [Midterm Test #1 PDF]. ![Midterm 1 vs. Quiz] 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: - [Assignment #03 HTML] – file system commands, GLOB, redirection on the CLS - Optional BONUS assignment: [Assignment #04 HTML] – learning the VIM text editor. (Optional BONUS for extra marks.) - [Assignment #05 HTML] – review of Midterm #1 errors Lab work this week ------------------ - [Worksheet #04 HTML] – GLOB Patterns and Aliases - bash GLOB patterns, alias, sum - [Worksheet #05 HTML] – I/O Redirection and Pipes - I/O redirection and pipes, date, head, nl, tail, tr, wc - [Worksheet #06 HTML] – *Optional* VIM Text Editor Practice - This is an *optional* worksheet for an optional BONUS [Assignment #04 HTML] using the `vim` text editor. - Optional Reading: [The VI (VIM) Text Editor] - Optional command-line VIM tutorial: the `vimtutor` program on the CLS. 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 ======================================== - Your in-class notes go here. - is this directory empty? `ls` - copying and moving files into existing directories: - `$ rm -rf foo bar ; touch foo ; cp foo bar` - `$ rm -rf foo bar ; touch foo ; mkdir bar ; cp foo bar` - `$ rm -rf foo bar ; mkdir foo ; touch foo/a foo/b ; cp -r foo bar` - `$ rm -rf foo bar ; mkdir foo ; touch foo/a foo/b ; mkdir bar ; cp -r foo bar` - `$ rm -rf foo bar ; mkdir foo ; touch foo/a foo/b ; mkdir bar ; cp -r foo/. bar` - *If the destination is an existing directory, the source is copied into that directory under the **basename** of the source.* - See [the `cp --no-target-directory` option] - See [my StackExchange article] No Talking during Lectures -------------------------- Your class representative says we’re approaching zero tolerance for students talking during lectures. I will be asking students to leave the lecture if this continues: > From: Melisa Lalonde\ > Sent: Tuesday, October 08, 2013 11:03 AM\ > To: Shawn McBride\ > Subject: Rising Class Issue > > Hello Shawn, > > I have been informed by multiple students recently that they are getting > very irritated in class due to some groups of students constant chatter. > > For the most part it seems to be that same groups of people and in our > lecture classes that continue to chatter for full on conversations both > school and not school related. The teachers have repetitively asked people > to stop talking while they are teaching but that clearly doesn’t seem to be > working. This is frustrating because this is college and we shouldn’t have > to punish or single people out in class in order for them to be respectful > of others. > > The only thing that seems to make sense is to ask teachers to kick the > students out of class if they have already been warned once to stop > talking. I would like to run this by you first before i ask my teachers if > they would be willing to follow through with this idea. > > Melisa Lalonde > > CST year one class rep Free 5 GHz WiFi Adaptor ----------------------- Coordinator Shawn McBride sent you all an email on October 2 telling you about how to get your own *free* 5 GHz WiFi Adaptor: > The College’sWireless network supports two frequencies; 2.4 GHz and 5 GHz. > > Many laptops only support the 2.4GHz frequency which is very crowded, while > the 5 GHZ frequency has unused capacity.\ > Laptops which specify 802.11 bgn typically only have a 2.4GHz radio.\ > Laptops which specify 802.11 abgn have 2.4 and 5 GHz radios. > > ITS is now distributing free 5 GHz USB network adaptors at their service > desk in room C102. > > ITS is now distributing free laptop network adapt ors for those who would > benefit from an upgrade (ie. those who have a laptop whi ch cannot support > a 5 GHz signal). In general, devices made by Apple or systems that support > the 802.11A or 802.11AC standard do not require an upgrade. Please contact > the ITS Service Desk if you feel your system could benefit from this > upgrade. Real Sysadmin Work ================== [Sample job posting for the federal government:] > Position Title(s) : Information Protection Support Analyst\ > Classification(s) : UN - 06 CS - 02\ > Salary : $63,155.00 - $74,302.00 per year - Salary Under Review\ > Federal Organization(s) - Communications Security Establishment\ > Location(s) : Ontario - Ottawa\ > **Experience**\ > Significant and recent experience in installing, configuring and > maintaining multiple Operating Systems (OSs), including Windows and > UNIX/Linux.\ > Significant and recent experience designing, configuring, and implementing > IT security solutions in a corporate environment (e.g. security device or > software, firewall, antivirus, IDS, SIEM, etc).\ > Experience in network device configuration.\ > Recent experience in working high-tempo operational activities.\ > Experience in hardening OSs.\ > Experience in supporting databases.\ > Experience in script writing.\ > NOTE: “Significant experience” is defined as being able to provide at least > three (3) concrete examples of successful implementation of IT projects or > initiatives of minimum duration 4 months OR at least five (5) concrete > examples of successful ones of lesser duration within the last four years.\ > “Experience” is defined as being minimum 9 months; and\ > “Recent” is defined as being within the last 4 years.  ![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/ [Search PATH]: 400_search_path.html [Quoting]: 440_quotes.html [List of Commands You Should Know]: 900_unix_command_list.html [lynda.com]: https://lyceum.algonquincollege.com/Lynda [Unix for Mac OS X Users]: http://wwwlyndacom.rap.ocls.ca/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html [Test Instructions]: 000_test_instructions.html [302 practice Midterm Test #1 questions]: practicetest1.pdf [Midterm 1 Quiz]: data/midterm1quiz.png "Midterm 1 Quiz" [Midterm Test #1 PDF]: midterm1.pdf [Midterm 1 vs. Quiz]: data/midterm1vsquiz.png "Midterm 1 vs. Quiz" [Worksheet #04 HTML]: worksheet04.html [Worksheet #05 HTML]: worksheet05.html [Worksheet #06 HTML]: worksheet06.html [The VI (VIM) Text Editor]: 300_vi_text_editor.html [the `cp --no-target-directory` option]: https://gnu.org/software/coreutils/manual/html_node/Target-directory.html#Target-directory [my StackExchange article]: http://unix.stackexchange.com/questions/94831/cp-no-target-directory-explained/94838#94838 [Sample job posting for the federal government:]: data/govjob2013.pdf [Take Notes in Class]: data/remember.jpg "Take Notes in Class" [Plain Text]: week06notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/