----------------------------------------------------- Week 8 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. ------------------- This week (Week 8): ------------------- Monday is a holiday this week - section 011 has no scheduled lab hours. For this reason, sections 012/013/014 will also have no scheduled lab hours this week. I will be available during lab hours for consultation as you work on the material given below; but, no attendance will be taken. Anyone from any section may attend any lab period this week. I will be available online through the news groups as usual this week, and I'll schedule an extra hour in the lab on Thursday 2pm-3pm if anyone wants to meet me there (send me email to confirm). Do lab06exercise.txt (based on Chapter 9 and the Notes). It is based on the script examples in Chapter 9. Finish reading Chapter 9 using the Chapter 9 Study/Reading Guide. Make sure you actually type in and *do* the examples listed in your book! I'll have Assignment #1 posted by Tuesday afternoon. Read these updated or new files under "Notes": chapter09guide.txt exit_status.txt here_select.txt less_code.txt script_checklist.txt script_style.txt text_errata.txt Updated example shell scripts (some needed for lab06exercise.txt): elif.sh.txt test_numeric.sh.txt optional_args_case.sh.txt optional_args_elif.sh.txt