----------------------------------------------------- Week 9 Notes for CST8129 - Ian Allen - idallen@ncf.ca ----------------------------------------------------- Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) ------- Review: ------- In Week 1 (see week01notes.txt) you learned about News groups and how to read the course announcements, post, and cancel articles. You logged in to the Linux Lab (T127) and then to ACADUNIX and verified your userid, password, and disk quota. You changed your password. In Week 2 (see week02notes.txt) you read Chapter 1 and answered the review questions in the notes. You remembered how to use the VI text editor by writing and modifying a small script copied from the textbook. You downloaded a C program and compiled and ran it. You used the "diff" command with and without the "-w" option. In Week 3 (see week03notes.txt) you handed in Lab Exercise #1 and started reading Chapter 8 using the Chapter 8 reading guide and questions. In Week 4 (see week04notes.txt) you handed in Lab Exercise #2 and finished reading Chapter 8. In Week 5 (see week05notes.txt) you handed in Lab Exercise #3 and studied Chapter 8 for the midterm test using the Chapter 8 Reading Guide. In Week 6 (see week06notes.txt) you handed in Lab Exercise #4 and wrote the midterm test. You started reading Chapter 9 and typed in several scripts from that chapter using the traditional (non 2.x) bash syntax. In Week 7 (see week07notes.txt) you demonstrated Lab Exercise #5 and read most of the rest of Chapter 9 using the reading guide. In Week 8 (see week08notes.txt) you handed in Lab Exercise #6 and finished reading Chapter 9 using the reading guide. You started work on Assignment #1 and prepared for the repeat of Midterm #1. ------------------- This week (Week 9): ------------------- Monday is the make-up midterm test (repeat of topics of Midterm #1). Do lab07exercise.txt. Work on Assignment #1. Both are based on the script examples in Chapter 9 and in the Notes (under Shell Scripts). Read Chapter 2. (All of it.) Make sure you actually type in and *do* the examples listed in your book! Read and understand these updated or new files under "Notes": assignment01.txt chapter09guide.txt data_mining.txt exit_status.txt here_select.txt less_code.txt linux_lab_access.txt nesting.txt script_checklist.txt script_style.txt text_errata.txt Understand these example shell scripts (some needed for lab07exercise.txt): elif.sh.txt* optional_args_case.sh.txt* optional_args_elif.sh.txt* pluralizer.sh.txt* test_numeric.sh.txt*