Index of cst8129/02f/notes
The scripts and programs in this directory have had a ".txt" suffix added, to
make sure that they are treated as text when your browser downloads them.
You usually need to remove the ".txt" suffix to compile them.
Jump down to:
* Weekly Class Notes
* Chapter Reading/Study Guides
* Important Notes (alphabetical order)
* Labs/Assignments/Exercises
* Shell Scripts
* C and C++ Programs
* Course Outline / pdf,doc,wpd
* Tests and Exams (with Answers)
* Optional Material
* Important Notes (chronological order)
Weekly Class Notes
Aug 5 14:13 2003 week01notes.txt Week 1 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Sep 9 01:38 2002 week02notes.txt Week 2 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Sep 15 23:17 2002 week03notes.txt Week 3 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Sep 19 20:05 2002 week04notes.txt Week 4 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Sep 23 03:18 2002 week05notes.txt Week 5 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Sep 30 11:45 2002 week06notes.txt Week 6 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Oct 7 00:20 2002 week07notes.txt Week 7 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Oct 15 02:45 2002 week08notes.txt Week 8 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Oct 21 03:07 2002 week09notes.txt Week 9 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Oct 28 06:25 2002 week10notes.txt Week 10 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Nov 3 03:49 2002 week11notes.txt Week 11 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Nov 10 02:09 2002 week12notes.txt Week 12 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Nov 17 15:19 2002 week13notes.txt Week 13 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Nov 24 10:49 2002 week14notes.txt Week 14 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Dec 2 16:29 2002 week15notes.txt Week 15 Notes for CST8129 - Ian Allen - idallen@ncf.ca
Chapter Reading/Study Guides
Dec 10 03:35 2002 chapter01guide.txt Linux Shells by Example: Chapter 1 Reading Guide
Dec 10 03:36 2002 chapter02guide.txt Linux Shells by Example: Chapter 2 Reading Guide
Dec 10 03:35 2002 chapter03guide.txt Linux Shells by Example: Chapter 3 Reading Guide
Nov 14 14:58 2002 chapter04guide.txt Linux Shells by Example: Chapter 4 Reading Guide
Nov 17 10:21 2002 chapter05-07guide.txt Linux Shells by Example: Chapters 5-7 Reading Guide
Dec 10 03:35 2002 chapter08guide.txt Linux Shells by Example: Chapter 8 "First Pass" Reading Guide
Oct 26 15:12 2002 chapter09guide.txt Linux Shells by Example: Chapter 9 Reading Guide
Important Notes (alphabetical order)
Dec 1 16:49 2002 abbreviations.txt Script Marking Code comment abbreviations
Sep 15 02:08 2002 acadunix_help.txt Using the ACADUNIX machine
Sep 14 03:43 2002 arguments_and_options.txt Options and Arguments on Unix Command Lines
Oct 16 14:01 2002 data_mining.txt Using commands and pipes to "mine" and extract data from the system
Sep 14 04:36 2002 echo_commands.txt No standard for the "echo" command
Oct 14 20:50 2002 exit_status.txt Return Code, Exit Status, ||, &&, test, and if
Oct 3 12:22 2002 expansion_order.txt Order of Shell Command Line processing
Sep 14 07:11 2002 file_system.txt Unix/Linux File System - (the weird parts)
Oct 15 00:20 2002 here_select.txt Select statements vs. Here Documents and Case statements
Sep 14 16:16 2002 home_and_HOME.txt Directories: current, HOME, and /home
May 4 01:52 2003 intro.html A 10-minute guide to UNIX
Oct 14 20:46 2002 less_code.txt Less Code is Better Code - stop cutting and pasting identical code
Sep 21 12:31 2002 links_and_inodes.html Hard links and Unix file system nodes (inodes)
Nov 20 13:39 2002 linux_lab_access.txt How to get Access to the Linux Lab from Wherever
Oct 1 02:42 2002 man_page_RTFM.txt Searching for items in the Unix manual pages (RTFM)
Sep 22 12:34 2002 miscellaneous.txt Miscellanous Unix Facts
Oct 17 07:33 2002 nesting.txt Avoiding deeply nested IF statements
Sep 15 04:12 2002 pathnames.txt Unix/Linux Pathnames
Sep 15 03:18 2002 quotes.txt Unix/Linux Shell Command Line Quoting
Sep 23 03:14 2002 redirection.txt Unix Shell I/O Redirection
Dec 19 13:18 2002 regular_expression_practice1.txt Regular Expression Practice
Nov 3 01:34 2002 regular_expression_questions.txt Regular Expression Skill Assessment
Nov 9 19:07 2002 regular_expressions.txt Regular Expressions - Basic, Extended, and OddBall
Oct 3 12:27 2002 review_basic.txt CST8129 Review #1 - Basic Shell Concepts (Chapter 8)
Oct 14 20:29 2002 script_checklist.txt Shell Script Checklist - a list of things to verify in your shell scripts
Oct 23 09:20 2002 script_style.txt Shell Script Programming Conventions and Style
Sep 15 02:19 2002 shells.txt The Unix Shell
Nov 17 11:38 2002 tcshbugs.txt Bugs in TCSH
Nov 12 16:28 2002 tester_help.txt Writing a script to test another script or program
Sep 15 02:09 2002 umask.txt Umask and Permissions
Sep 12 15:57 2002 vi_basics.txt The VI (VIM) Editor (Review)
Labs/Assignments/Exercises
Dec 10 03:33 2002 assignment01.txt CST8129 Term Assignment #1
Jan 14 12:32 2003 assignment02-B.txt CST8129 Term Assignment #2-B (Make-Up)
Dec 10 03:33 2002 assignment02.txt CST8129 Term Assignment #2
Nov 27 22:40 2002 assignment03.txt CST8129 Term Assignment #3
Sep 26 23:18 2002 lab01exercise.txt CST8129 Lab Exercise #1 (Week 3)
Sep 26 23:14 2002 lab02exercise.txt CST8129 Lab Exercise #2 (Week 4)
Sep 23 02:53 2002 lab03exercise.txt CST8129 Lab Exercise #3 (Week 5)
Sep 30 11:43 2002 lab04exercise.txt CST8129 Lab Exercise #4 (Week 6)
Dec 10 03:32 2002 lab05exercise.txt CST8129 Lab Exercise #5 (Week 7)
Dec 10 03:32 2002 lab06exercise.txt CST8129 Lab Exercise #6 (Week 8)
Oct 21 03:48 2002 lab07exercise.txt CST8129 Lab Exercise #7 (Week 9)
Nov 3 03:06 2002 lab08exercise.txt CST8129 Lab Exercise #8 (Week 11)
Nov 11 09:59 2002 lab09exercise.txt CST8129 Lab Exercise #9 (Week 12)
Nov 14 15:51 2002 lab10exercise.txt CST8129 Lab Exercise #10 (Week 13)
Dec 10 03:33 2002 lab11exercise.txt CST8129 Lab Exercise #11 (Week 14)
Dec 10 01:02 2002 lab12_appointments.txt Appointments to demo Bonus Lab #12
Dec 10 03:33 2002 lab12exercise.txt CST8129 Bonus Project (Lab #12)
Shell Scripts
Dec 10 06:00 2002 10_top_five.sh.txt This scripts sorts a file and displays the top 5 lines.
Dec 10 06:00 2002 11_string_compare.sh.txt This script compares two strings: an argument and stdin.
Dec 10 06:00 2002 12_optional_arguments_demo.sh.txt Display PWD MAIL HOME replaced by optional command line arguments.
Dec 10 06:00 2002 13_path_validator.sh.txt Validate a single command line argument (file or directory).
Dec 10 06:00 2002 14_file_size_classer.sh.txt Classify a file as small, medium, large.
Dec 10 06:00 2002 15_two_number_sort.sh.txt Put two integers in ascending order. Prompt for missing arguments.
Dec 10 06:00 2002 20_integer_sorter.sh.txt Sorts three integers on the command line; prompts for missing numbers.
Dec 10 06:00 2002 21_updown_series.sh.txt Print a series of numbers in a range, automatically ascending or descending.
Dec 10 06:00 2002 22_file_info.sh.txt Print file system information about all command line arguments.
Dec 10 06:00 2002 30_script_validator.sh.txt Validate some aspects of a properly-written shell script.
Dec 10 06:00 2002 40_weather_grabber.sh.txt This script extracts the current weather information from the Web.
Dec 10 03:30 2002 argv.sh.txt This shell script displays the command line arguments.
Dec 10 03:30 2002 elif.sh.txt Show the equivalence of nested IF statements and ELIF
Oct 15 02:45 2002 optional_args.sh.txt Demonstrate prompting for missing command line arguments.
Oct 15 02:45 2002 optional_args_case.sh.txt Demonstrate prompting for missing command line arguments.
Oct 15 02:45 2002 optional_args_elif.sh.txt Demonstrate prompting for missing command line arguments.
Oct 22 15:36 2002 optional_args_if.sh.txt Demonstrate prompting for missing command line arguments.
Dec 10 03:32 2002 pluralizer.sh.txt Pluralize the string if the number is not one.
Dec 10 03:32 2002 test_numeric.sh.txt Demonstrate the use of a shell function to set a return code.
Dec 10 03:32 2002 tester.sh.txt Exhaustively test the 12_optional_arguments_demo.sh shell script.
Dec 10 03:29 2002 validate.sh.txt Validate a shell script professor comment line.
C and C++ Programs
Sep 14 15:53 2002 argv.c++.txt Display the arguments on the command line.
Sep 14 15:52 2002 argv.c.txt Display the arguments on the command line.
Sep 14 15:59 2002 helloworld.c++.txt This is a sample "Hello World!" C++ file.
Sep 14 15:52 2002 simplepipe.c.txt Simple two-process pipe.
Sep 14 15:52 2002 simpleshell.c.txt Simple Unix Shell.
Course Outline / pdf,doc,wpd
Aug 28 13:09 2002 cst8129-02f-outline.pdf
Oct 9 14:53 2002 linux_lab_hours.pdf
Nov 28 11:04 2002 register_03w.pdf
Jan 14 12:22 2003 text_errata.txt Errors in Linux Shells by Example by Ellie Quigley
Sep 15 04:35 2002 timeline.txt CST8129 TimeLine (order of topics)
Oct 10 04:45 2002 wt127_schedule.txt Room Schedule for WT-127 (as of October 10, 2002)
Tests and Exams (with Answers)
Dec 19 12:44 2002 finalexam.sh.txt CST8129 Final Exam Script (answer) - Fall 2002
Dec 14 11:52 2002 finalexam.pdf
Dec 14 11:50 2002 finalexam.ps
Oct 29 09:41 2002 midterm_2.pdf
Oct 29 09:40 2002 midterm_2.ps
Oct 21 21:57 2002 midterm_1B.pdf
Oct 21 17:11 2002 midterm_1B.ps
Oct 4 10:06 2002 midterm_1A.pdf
Oct 3 18:39 2002 midterm_1A.ps
Optional Material
Nov 19 13:32 2002 opt_can-you-trust.txt Can you trust your computer?
Nov 2 14:35 2002 opt_right-to-read.txt "The Right to Read" by Richard Stallman
Sep 14 05:16 2002 opt_open_source.txt E-Week Editorial - Software Independence
Sep 8 22:48 2002 opt_challenges.txt CST8129 Challenge Projects
Important Notes (chronological order)
May 4 01:52 2003 intro.html A 10-minute guide to UNIX
Dec 19 13:18 2002 regular_expression_practice1.txt Regular Expression Practice
Dec 1 16:49 2002 abbreviations.txt Script Marking Code comment abbreviations
Nov 20 13:39 2002 linux_lab_access.txt How to get Access to the Linux Lab from Wherever
Nov 17 11:38 2002 tcshbugs.txt Bugs in TCSH
Nov 12 16:28 2002 tester_help.txt Writing a script to test another script or program
Nov 9 19:07 2002 regular_expressions.txt Regular Expressions - Basic, Extended, and OddBall
Nov 3 01:34 2002 regular_expression_questions.txt Regular Expression Skill Assessment
Oct 23 09:20 2002 script_style.txt Shell Script Programming Conventions and Style
Oct 17 07:33 2002 nesting.txt Avoiding deeply nested IF statements
Oct 16 14:01 2002 data_mining.txt Using commands and pipes to "mine" and extract data from the system
Oct 15 00:20 2002 here_select.txt Select statements vs. Here Documents and Case statements
Oct 14 20:50 2002 exit_status.txt Return Code, Exit Status, ||, &&, test, and if
Oct 14 20:46 2002 less_code.txt Less Code is Better Code - stop cutting and pasting identical code
Oct 14 20:29 2002 script_checklist.txt Shell Script Checklist - a list of things to verify in your shell scripts
Oct 3 12:27 2002 review_basic.txt CST8129 Review #1 - Basic Shell Concepts (Chapter 8)
Oct 3 12:22 2002 expansion_order.txt Order of Shell Command Line processing
Oct 1 02:42 2002 man_page_RTFM.txt Searching for items in the Unix manual pages (RTFM)
Sep 23 03:14 2002 redirection.txt Unix Shell I/O Redirection
Sep 22 12:34 2002 miscellaneous.txt Miscellanous Unix Facts
Sep 21 12:31 2002 links_and_inodes.html Hard links and Unix file system nodes (inodes)
Sep 15 04:12 2002 pathnames.txt Unix/Linux Pathnames
Sep 15 03:18 2002 quotes.txt Unix/Linux Shell Command Line Quoting
Sep 15 02:19 2002 shells.txt The Unix Shell
Sep 15 02:09 2002 umask.txt Umask and Permissions
Sep 15 02:08 2002 acadunix_help.txt Using the ACADUNIX machine
Sep 14 16:16 2002 home_and_HOME.txt Directories: current, HOME, and /home
Sep 14 07:11 2002 file_system.txt Unix/Linux File System - (the weird parts)
Sep 14 04:36 2002 echo_commands.txt No standard for the "echo" command
Sep 14 03:43 2002 arguments_and_options.txt Options and Arguments on Unix Command Lines
Sep 12 15:57 2002 vi_basics.txt The VI (VIM) Editor (Review)