NOTE: The scripts and programs in this directory may have had a ".txt" suffix added, to make sure that they are treated as text when your browser downloads them. You may need to remove the ".txt" suffix to compile or run them on your own computer.

Weekly Class Notes

Jan 10 14:25 2004  week01notes.txt   Week 1 Notes for DAT2330
Mar  6 14:11 2004  week02notes.txt   Week 2 Notes for DAT2330
Mar  6 14:15 2004  week03notes.txt   Week 3 Notes for DAT2330
Feb  2 15:16 2004  week04notes.txt   Week 4 Notes for DAT2330
Mar  6 15:59 2004  week05notes.txt   Week 5 Notes for DAT2330
Mar  7 19:39 2004  week06notes.txt   Week 6 Notes for DAT2330
Mar  7 19:37 2004  week07notes.txt   Week 7 Notes for DAT2330
Mar  7 19:36 2004  week08notes.txt   Week 8 Notes for DAT2330
Mar  9 02:30 2004  week09notes.txt   Week 9 Notes for DAT2330

Course Notes (alphabetical order)

Aug 24 00:00 2003  README.txt   README - Index to this DAT2330 directory
Mar 22 03:18 2004  abbreviations.txt   Marking Code comment abbreviations
Jan  6 05:45 2004  acadunix_help.txt   Using the ACADUNIX IBM Unix machine
Sep  3 03:20 2003  arguments_and_options.txt   Options and Arguments on Unix Command Lines
Jan 17 01:39 2004  course_linux_server.txt   The Course Linux Server
Oct 18 03:16 2003  deep_nesting.txt   Avoiding deeply nested IF statements (Structured/Un-Structured)
Feb 16 03:30 2004  exit_status.txt   Return Code, Exit Status, test, if, and while
Feb 12 04:39 2011  file_system.txt   Unix/Linux File System - (correct explanation)
Feb 28 08:44 2004  file_transfer.txt   File transfer between machines
Mar 11 13:46 2004  final_test_hints.txt   Unix/Linux Final Exam - hints for full marks
Jan  9 13:02 2004  home_and_HOME.txt   Directories: current, HOME, and /home
Sep  3 02:36 2003  how_to_print.txt   How to print from ACADUNIX
Sep  3 04:00 2003  internet_basics.html   Internet Basics
Jan  6 06:43 2004  knoppix_booting.txt   Using the Knoppix Linux CDROM
Oct 18 03:34 2003  less_code.txt   Less Code is Better Code - stop cutting and pasting identical code
Oct 20 10:50 2005  links_and_inodes.html   Hard links and Unix file system nodes (inodes)
Jan  6 07:21 2004  man_page_RTFM.txt   Searching for items in the Unix manual pages (RTFM)
Jan 13 09:55 2004  miscellaneous.txt   Miscellanous Unix Facts
Sep 27 05:47 2011  pathnames.txt   Unix/Linux Pathnames
Jan 24 01:52 2004  practiceCommands_1.txt   Practice Unix/Linux Questions #1
Mar  7 04:25 2004  quick_tests.txt   Return Code, Exit Status, ||, &&, test, and if
Jan 17 12:43 2004  quotes.txt   Unix/Linux Shell Command Line Quoting
Feb  5 16:54 2011  redirection.txt   Unix Shell I/O Redirection (including Pipes)
Feb 20 13:07 2004  script_checklist.txt   Shell Script Checklist - a list of things to verify in your shell scripts
Feb 25 11:56 2004  script_practice1.txt   Practice Script #1 Specifications
Mar  7 02:58 2004  script_style.txt   Shell Script Programming Conventions and Style
Jan  9 12:42 2004  shell_prompt.txt   Setting the BASH shell prompt
Mar  7 02:26 2004  shell_read.txt   Reading stdin into shell variables
Sep 30 01:50 2003  shell_script_execution.txt   How a Shell Script is "Executed"
Feb 16 03:39 2004  shell_variables.txt   Shell Variables you should know (including $* and $@)
Sep  3 02:53 2003  shells.txt   The Unix Shell
Jan 16 08:34 2004  startup_files.txt   Setting up Startup Files: .profile and .bashrc
Mar 10 11:51 2004  tarcompile.txt   Specifications: Extract and compile a C++ program contained in a tar archive
Jan  9 23:00 2004  telnet_usage.html   Using Telnet/Ssh to Unix Systems
Mar  6 16:36 2004  umask.txt   Umask and Permissions
Feb 22 16:31 2004  unix_command_list.txt   Basic Unix/Linux Command List
Feb 16 04:26 2004  unix_permissions.txt   Unix Permissions
Jan  9 12:22 2004  vi_basics.txt   The VI (VIM) Editor - Basics

Projects/Labs/Assignments/Exercises (for hand-in)

Jan 16 08:20 2004  exercise01.txt   Exercise #1 for DAT2330 due January 23
Feb  2 16:34 2004  exercise01answers.txt   Exercise #1 sample Answers
Jan 29 12:09 2004  exercise02.txt   Exercise #2 for DAT2330 due February 3
Feb  6 01:19 2004  exercise02commands.sh.txt   Exercise #2 sample Answer exercise02commands.sh
Feb  6 00:29 2004  exercise02weather.sh.txt   Exercise #2 sample Answer weather.sh
Mar 28 13:22 2004  exercise03.sh.txt   unpack some tar archives containing image fragments and assemble a JPEG image
Feb 26 12:50 2004  exercise03.txt   Exercise #3 for DAT2330 due March 9
Mar 28 13:31 2004  exercise03weather.sh.txt   Fetch the current temperature for a given airport city code
Mar 24 18:46 2004  exercise04.txt   Exercise #4 for DAT2330 due April 16

Shell Scripts

Jan 16 08:07 2004  argv.sh.txt   This shell script displays the command line arguments.
Oct 19 23:47 2003  file_size_classer.sh.txt   Classify a file as small, medium, large.
Oct 23 02:53 2003  grep_test.sh.txt   Test to see if a string is in the online user list
Feb 25 03:25 2004  iftest1.sh.txt   We don't want the usual output of DIFF on the screen, so we throw it away.
Feb 25 03:26 2004  iftest2.sh.txt   For a list of numeric comparison operators, see the "test" man page.
Feb 25 03:26 2004  iftest3.sh.txt   String comparison uses "=" not "-eq".
Feb 25 03:26 2004  iftest4.sh.txt   See the "test" man page for a larger list of file-testing operators.
Feb 25 03:27 2004  iftest5.sh.txt   Syntax: $0 [filename]
Feb 25 03:27 2004  iftest6.sh.txt   Issue an error message unless exactly one command line argument is given.
Feb 25 03:27 2004  iftest7.sh.txt   Print an error if the argument is missing, or is not a file.
Feb 25 03:27 2004  iftest8.sh.txt   Specifications:
Feb 25 03:27 2004  iftest9.sh.txt   Specifications:
Feb 24 13:43 2004  optional_args_if1.sh.txt   Demonstrate method 1 for prompting for missing command line arguments.
Feb 24 13:45 2004  optional_args_if2.sh.txt   Demonstrate method 2 for prompting for missing command line arguments.
Oct 20 00:04 2003  optional_args_if3.sh.txt   Display PWD MAIL HOME replaced by optional command line arguments.
Mar  7 19:04 2004  passwd_string_finder.sh.txt   Syntax: $0 [ string ]
Oct 14 17:23 2003  path_validator.sh.txt   Validate a single command line argument (file or directory).
Feb 25 03:18 2004  script_practice1.sh.txt   Sample solution to script_practice1.txt
Oct 14 17:06 2003  showtest.sh.txt   This script runs in "debug" mode (see the -x above).
Oct 14 17:19 2003  sort_top_five.sh.txt   This scripts sorts a file and displays the top 5 lines.
Feb 22 11:26 2004  string_compare.sh.txt   This script compares two strings: an argument and stdin.
Mar 10 11:30 2004  tarcompile.sh.txt   Extract and compile a C++ program contained in a tar archive
Apr  9 02:10 2004  while.sh.txt   Syntax: $0 (no arguments)
Feb 24 13:48 2004  whoson.sh.txt   IAN! idallen@idallen.ca

Program Source

Oct  3 12:10 2003  argv.c++.txt   IAN! idallen@idallen.ca
Sep 15 14:50 2003  argv.c.txt   IAN! idallen@idallen.ca
Jan 24 02:43 2004  stdxxx.c++.txt   Produces output on stdout and stderr, prompts and reads from stdin.

Course Outline and Evaluation

Jan  9 11:46 2004  dat2330_04w_course_outline.pdf   

Miscellaneous

Sep  6 01:49 2003  Class Rep Form.pdf   
Aug  4 16:17 2019  Class Rep Job Description.pdf   
Sep  6 01:49 2003  Class Rep Job Description.wpd   
Mar  4 14:13 2004  nonchristian2004.pdf   

Quizzes, Tests, and Exams

Jan 24 01:24 2004  practiceTest1.pdf   
Jan 24 01:24 2004  practiceTest1.ps   
Jan 24 01:24 2004  practiceTest1.txt   DAT2330 - Ian Allen - Winter 20-1- PRACTICE
Mar  8 00:39 2004  practiceTest2.pdf   
Mar  8 00:39 2004  practiceTest2.ps   
Mar  8 00:39 2004  practiceTest2.txt   DAT2330 - Ian Allen - Winter 20-1- PRACTICE
Nov  3 12:41 2003  practiceTest2script.pdf   
Oct 27 14:20 2003  practiceTest2script.ps   
Mar  8 00:43 2004  practiceTest2script.txt   Practice Test Script
Mar  8 00:44 2004  practiceTest2scriptA.sh.txt   Sample solution to the Practice Test Script (sloppy version)
Mar  8 00:44 2004  practiceTest2scriptB.sh.txt   Sample solution to the Practice Test Script (neat version)
Feb 16 12:57 2004  termTest1.pdf   
Feb 16 12:57 2004  termTest1.ps   
Feb 16 12:57 2004  termTest1.txt   DAT2330 - Ian Allen - Winter 20-1- 45 minutes
Mar 16 13:39 2004  termTest2.pdf   
Mar 16 13:39 2004  termTest2.ps   
Mar 16 13:39 2004  termTest2.txt   DAT2330 - Ian Allen - Winter 20-1- 100 minutes
Mar 16 14:23 2004  termTest2script.pdf   
Mar 16 14:23 2004  termTest2script.ps   
Mar 16 14:23 2004  termTest2script.txt   Unix Test #2
Mar 21 09:45 2004  termTest2scriptA.sh.txt   This "sloppy" version is what you might write by following the
Mar 21 09:45 2004  termTest2scriptB.sh.txt   This "neat" version is a cleaned-up version of the "sloppy" version.

Optional Material

Jan 27 12:38 2003  opt_open_source2.txt   E-Week Magazine explains Linux and Open Source
Jan  6 03:10 2003  opt_mainframe_linux.txt   IBM System/390: The Linux Dream Machine
Jan  6 03:10 2003  opt_why_shell.txt   Why Learn to program the Unix Shells?
Dec 28 03:05 2001  opt_unix_vs_mainframe.txt   A UNIX Server Is NO Mainframe
Jul 15 00:56 2001  opt_open_source.txt   E-Week Editorial - Software Independence