% Week 06 Notes for CST8207 - Winter 2012 % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Winter 2012 - January to April 2012 Midterm Tests ============= ### Midterm 2 Test Date ### Your second midterm test date is Friday March 16 in class. * The Midterm Test dates are posted on the [Course Home Page]. * Tests are short answer and multiple choice. * For full mark credit, read the [Test Instructions] for important directions on how to enter your answers on the mark-sense forms. * Each Midterm covers material on the preceding assignments and Weekly Notes, with emphasis on material in the assignments. * Basic calculators are permitted for this test and the final exam but will not be needed. (No phones or PDA devices.) ### Midterm 1 Test Scores ### 100 97.8 95.7 93.5 91.3 91.3 89.1 87 87 84.8 84.8 82.6 80.4 80.4 78.3 78.3 78.3 73.9 71.7 71.7 69.6 69.6 67.4 67.4 65.2 65.2 65.2 65.2 65.2 65.2 63 63 63 63 63 63 60.9 60.9 60.9 58.7 56.5 56.5 56.5 52.2 52.2 52.2 52.2 52.2 50 50 50 47.8 45.7 45.7 45.7 45.7 43.5 43.5 43.5 43.5 41.3 41.3 41.3 41.3 41.3 39.1 39.1 37 37 37 37 37 34.8 32.6 32.6 30.4 30.4 30.4 30.4 30.4 28.3 28.3 28.3 26.1 23.9 21.7 19.6 Lecture Notes for This Week =========================== From the Class Notes link on the Course Home Page ------------------------------------------------- * [Test Instructions](000_test_instructions.html) - Important directions on how to enter your answers on the mark-sense forms. * This is [Your Brain on the Internet](005_this_is_your_brain.txt) * [Frequently Asked Questions](007_freqently_asked_questions.html) * [How to report Problems](008_how_to_report_problems.txt) * [Installing VMware Tools](010_vmware_tools.html) * [Why Learn the Unix Shells?](100_why_shell.txt) * [Command Line vs. GUI: Power Users need more than GUI](110_command_line_vs_gui.txt) * [The Unix/Linux Shell](120_shell_basics.html) * [Searching for items in the Unix manual pages (RTFM)](130_man_page_RTFM.txt) * [Options and Arguments on Unix Command Lines](140_arguments_and_options.txt) * [Unix/Linux Pathnames (absolute, relative, dot, dot dot)](150_pathnames.txt) * [Hard links and Unix file system nodes (inodes)](200_links_and_inodes.html) * [Unix/Linux File System - (correct explanation)](210_file_system.txt) * [Directories: ROOT, /root, HOME, /home, and current](220_home_and_HOME.txt) * [Searching for and finding files by name, size, etc.](250_finding_files.txt) * [GLOB patterns (wildcard pathname matching)](260_glob_patterns.txt) * [Unix Shell I/O Redirection (including Pipes)](270_redirection.txt) * [Unix/Linux Shell Command Line Quoting Mechanisms](280_quotes.txt) * [The VI (VIM) Text Editor](300_vi_text_editor.html) * [Unix/Linux Command List (cumulative)](900_unix_command_list.txt) ### Assignments and Labs ### * See your [Blackboard] ToDo list for all assignment due dates * Finish [Lab #04] - Linux Shell Features (NEW DUE DATE) * Finish [Lab #05] - The VI/VIM Text Editor (NEW DUE DATE) * Start [Lab #06] - Linux File System Permissions (modes) (NEW DUE DATE) ### Lab hours during Study Break Week ### From: Patrick Ouellette Sent: Thursday, February 16, 2012 9:23 AM Subject: Reading Week - Open Lab Access The T115 lab will have open lab access hours during Reading Week (Feb 18-26) : - Saturday & Sunday: from 9am to 5pm (both weekends) - Monday & Tuesday, from 9am to 5pm - Wednesday, Thursday and Friday, from 8am to 6pm T113 will also be opened on both Saturday's from 9am to 12pm. As always, these a re first-come-first-served basis... From the Classroom Whiteboard/Chalkboard ---------------------------------------- * Your in-class notes go here. - If you're not actively taking notes in class, why are you here? - Assignments must be [Right the First Time](week01notes.html#right-the-first-time) * Send me video from the Rap. My wife wants to see me. - Hey! I've still not received any video. Anyone out there? * Date for second midterm test: Friday March 16. On the course home page. Do the practice test first. - Midterm test #2 includes all material up to and including lab06. * New due dates set for assignments 4,5,6: See your Blackboard ToDo list for the three new due dates. ### Topic: Salary ### * Wall Street Journal February 10 2012: [Linux Popularity Sparks Salary Jump](http://blogs.wsj.com/digits/2012/02/10/linux-popularity-sparks-salary-jump/) ### Topic: more Commands ### * Commands: [Unix/Linux Command List (cumulative)](900_unix_command_list.txt) ### Topics: Shell Features ### * Download this command line argument decoder: [`argv`](argv.sh.txt) - `chmod +x argv` - `./argv a b "c d" e\ f` foo* *foo * Questions - first: on-screen review of four midterm questions from last class - T/F: this confirms a directory is empty: ` $ ls` - T/F: file `out` has a second copy of `foo`: ` $ cp foo bar >out` - T/F: you see the contents of `foo`: ` $ head foo ; date < foo` - T/F `grep` reads your keyboard: `$ grep 'foo'` * Shell Standard Input, Output, Error - Redirection - [Unix Shell I/O Redirection (including Pipes)](270_redirection.txt) - I/O to and from files using `<` and `>` and `>>` - I/O to and from programs using `|` (pipes): What are the Three Rules for Pipes? - `^D` and EOF - see [The Unix/Linux Shell](120_shell_basics.html) [Test Instructions]: 000_test_instructions.html [000_README.txt]: 000_README.txt [000_Licensing.txt]: 000_Licensing.txt [005_this_is_your_brain.txt]: 005_this_is_your_brain.txt [007_freqently_asked_questions.html]: 007_freqently_asked_questions.html -- | 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](http://johnmacfarlane.net/pandoc/) format