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

Aug 28 01:36 2003  week01notes.txt   Week 1 Notes for DAT2330
Sep  3 06:34 2003  week02notes.txt   Week 2 Notes for DAT2330
Sep 10 05:58 2003  week03notes.txt   Week 3 Notes for DAT2330
Sep 18 03:27 2003  week04notes.txt   Week 4 Notes for DAT2330
Sep 24 11:07 2003  week05notes.txt   Week 5 Notes for DAT2330
Oct  2 01:28 2003  week06notes.txt   Week 6 Notes for DAT2330
Oct 11 09:01 2003  week07notes.txt   Week 7 Notes for DAT2330
Oct 20 02:06 2003  week08notes.txt   Week 8 Notes for DAT2330
Oct 22 22:12 2003  week09notes.txt   Week 9 Notes for DAT2330

Course Notes (alphabetical order)

Aug 24 00:00 2003  README.txt   README - Index to this DAT2330 directory
Nov  3 12:35 2003  abbreviations.txt   Marking Code comment abbreviations
Aug 27 15:06 2003  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
Oct  3 14:30 2003  course_linux_server.txt   File transfer to/from the Course Linux Server
Oct 18 03:16 2003  deep_nesting.txt   Avoiding deeply nested IF statements (Structured/Un-Structured)
Oct 25 14:38 2003  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)
Oct 24 02:05 2003  file_transfer.txt   File transfer between machines
Sep  3 03:44 2003  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
Sep 18 03:47 2003  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)
Sep  3 02:36 2003  man_page_RTFM.txt   Searching for items in the Unix manual pages (RTFM)
Sep  3 06:06 2003  miscellaneous.txt   Miscellanous Unix Facts
Aug 25 14:14 2003  os_intro.txt   Notes on Assessing an Operating System
Aug 25 14:15 2003  os_intro_points.txt   Summary Slide for O/S Introduction
Sep 27 05:47 2011  pathnames.txt   Unix/Linux Pathnames
Sep 18 03:02 2003  practiceCommands_1.txt   Practice Unix/Linux Questions #1
Oct 18 03:42 2003  quick_tests.txt   Return Code, Exit Status, ||, &&, test, and if
Sep  3 03:19 2003  quotes.txt   Unix/Linux Shell Command Line Quoting
Feb  5 16:54 2011  redirection.txt   Unix Shell I/O Redirection (including Pipes)
Sep 16 21:47 2003  redirection2.txt   Unix Shell I/O Redirection - Part II
Oct 18 03:21 2003  script_checklist.txt   Shell Script Checklist - a list of things to verify in your shell scripts
Oct 17 22:34 2003  script_practice1.txt   Practice Script #1 Specifications
Oct 18 03:31 2003  script_style.txt   Shell Script Programming Conventions and Style
Oct  4 01:26 2003  shell_prompt.txt   Setting the BASH shell prompt
Oct 18 12:07 2003  shell_read.txt   Reading stdin into shell variables
Sep 30 01:50 2003  shell_script_execution.txt   How a Shell Script is "Executed"
Oct 20 11:59 2003  shell_variables.txt   Shell Variables you should know (including $* and $@)
Sep  3 02:53 2003  shells.txt   The Unix Shell
Sep  3 04:07 2003  startup_files.txt   Setting up Startup Files: .profile and .bashrc
Oct  6 14:27 2003  tar_GNU_and_not.txt   ACADUNIX tar commands (GNU and not-GNU)
Aug 27 18:03 2003  telnet_usage.html   Using Telnet/Ssh to Unix Systems
Sep 16 16:33 2003  tutoring.txt   Subject: Notice to ATC profs re. Tutoring Services
Sep 15 12:58 2003  umask.txt   Umask and Permissions
Sep 29 23:53 2003  unix_permissions.txt   Unix Permissions
Aug 27 17:00 2003  vi_basics.txt   The VI (VIM) Editor - Basics

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

Sep  3 06:38 2003  exercise01.txt   Exercise #1 for DAT2330 due September 3
Sep 21 13:27 2003  exercise01answer.txt   Sample Solution to Exercise #1
Sep  3 06:38 2003  exercise02.txt   Exercise #2 for DAT2330 due September 10
Sep 21 13:37 2003  exercise02answer.txt   Sample Solution to Exercise #2
Sep 16 22:57 2003  exercise03.txt   Exercise #3 for DAT2330 due September 17
Sep 21 15:32 2003  exercise03answer.txt   Sample Solution to Exercise #3
Sep 21 15:24 2003  exercise03script.sh.txt   IAN! idallen@ncf.ca
Sep 18 03:13 2003  exercise04.txt   Exercise #4 for DAT2330 due September 24
Sep 28 16:52 2003  exercise04script.sh.txt   IAN! idallen@ncf.ca
Sep 29 11:28 2003  exercise05.txt   Exercise #5 for DAT2330 due October 1
Oct  3 15:59 2004  exercise06.txt   Exercise #6 for DAT2330 due October 10
Oct 20 05:44 2003  exercise06script.sh.txt   Sample solution to Exercise #6
Oct 20 05:01 2003  exercise07.txt   Exercise #7 for DAT2330 due in-lab October 15/16
Oct 24 14:08 2003  exercise07script.sh.txt   Sample solution to Exercise #7 (script_practice1.txt)
Oct 20 04:39 2003  exercise08.txt   Exercise #8 for DAT2330 due October 26
Oct 20 04:33 2003  exercise08_README.txt   Exercise #8 for DAT2330 due October 26
Oct 26 12:49 2003  exercise08script.sh.txt   Sample solution to Exercise #8

Shell Scripts

Jan  6 03:10 2003  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
Oct 14 16:27 2003  iftest1.sh.txt   We don't want the usual output of DIFF on the screen, so we throw it away.
Oct 14 16:33 2003  iftest2.sh.txt   For a list of numeric comparison operators, see the "test" man page.
Oct 14 16:36 2003  iftest3.sh.txt   String comparison uses "=" not "-eq".
Oct 14 16:45 2003  iftest4.sh.txt   See the "test" man page for a larger list of file-testing operators.
Oct 14 16:53 2003  iftest5.sh.txt   If no arguments, do the tests on /etc/passwd instead.
Oct 14 16:55 2003  iftest6.sh.txt   Issue an error message unless exactly one command line argument is given.
Oct 14 17:02 2003  iftest7.sh.txt   Print an error if the argument is missing, or is not a file.
Oct 14 17:04 2003  iftest8.sh.txt   Specifications:
Oct 14 17:04 2003  iftest9.sh.txt   Specifications:
Oct 24 14:08 2003  labweek8.sh.txt   Sample solution to Exercise #7 (script_practice1.txt)
Oct 20 00:33 2003  optional_args_if1.sh.txt   Demonstrate method 1 for prompting for missing command line arguments.
Oct 20 00:35 2003  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.
Oct 14 17:23 2003  path_validator.sh.txt   Validate a single command line argument (file or directory).
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.
Oct 19 23:38 2003  string_compare.sh.txt   This script compares two strings: an argument and stdin.
Sep 15 13:01 2003  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
Oct  3 12:10 2003  stdxxx.c++.txt   IAN! idallen@idallen.ca

Course Outline and Evaluation

Oct 21 17:44 2003  dat2330_03f_course_outline.pdf   

Miscellaneous

Sep  6 01:49 2003  Class Rep Form.pdf   
Aug  4 16:19 2019  Class Rep Job Description.pdf   
Sep  6 01:49 2003  Class Rep Job Description.wpd   
Aug  4 16:19 2019  Directive E02.pdf   
Sep  6 01:49 2003  Directive E02.wpd   
Sep  6 01:49 2003  Program Levels for Fall 03.doc   
Sep 16 10:39 2003  student_support_lab.doc   
Sep 16 12:08 2003  student_support_lab.txt   New this Fall - The Student Support Lab

Quizzes, Tests, and Exams

Sep 16 17:14 2003  practiceTest1.pdf   
Sep 16 17:14 2003  practiceTest1.ps   
Sep 16 17:14 2003  practiceTest1.txt   DAT2330 - Ian Allen - Fall 2003-1- PRACTICE
Oct 25 17:43 2003  practiceTest2.pdf   
Oct 25 17:42 2003  practiceTest2.ps   
Oct 25 17:37 2003  practiceTest2.txt   DAT2330 - Ian Allen - Fall 2003-1- PRACTICE
Sep 24 11:18 2003  termTest1.pdf   
Sep 24 11:18 2003  termTest1.ps   
Sep 24 11:18 2003  termTest1.txt   DAT2330 - Ian Allen - Fall 2003-1- 45 minutes
Oct 30 17:44 2003  termTest2.pdf   
Oct 30 17:44 2003  termTest2.ps   
Oct 30 17:44 2003  termTest2.txt   DAT2330 - Ian Allen - Fall 2003-1- 100 minutes
Nov  3 12:41 2003  termTest2script.pdf   
Oct 27 14:20 2003  termTest2script.ps   
Nov  3 12:42 2003  termTest2script.txt   Unix Term Test #2 Script Question
Nov  3 13:11 2003  termTest2scriptA.sh.txt   Sample solution to Unix Final Script (sloppy version)
Nov  3 13:12 2003  termTest2scriptB.sh.txt   Sample solution to Unix Final Script (neat version)

Optional Material

Feb 13 17:49 2003  opt_wt111_lab_config.txt   WT111, WT114, WT115 hardware information
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