Index of dat2330/03w/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
Jan 8 01:22 2003 week01notes.txt Week 1 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Jan 20 02:39 2003 week02notes.txt Week 2 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Jan 20 13:32 2003 week03notes.txt Week 3 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Jan 29 01:16 2003 week04notes.txt Week 4 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 17 08:58 2003 week05notes.txt Week 5 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 11 23:46 2003 week06notes.txt Week 6 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 17 10:05 2003 week07notes.txt Week 7 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 24 09:42 2003 week08notes.txt Week 8 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Mar 12 02:39 2003 week09notes.txt Week 9 Notes for DAT2330 - Ian Allen - idallen@ncf.ca
Chapter Reading/Study Guides
Jan 6 08:44 2003 chapter01guide.txt Chapter 1 Reading Guide - A Practical Guide to Linux
Jan 13 01:47 2003 chapter02guide.txt Chapter 2 Reading Guide - A Practical Guide to Linux
Jan 13 01:43 2003 chapter03guide.txt Chapter 3 Reading Guide - A Practical Guide to Linux
Jan 20 03:27 2003 chapter04guide.txt Chapter 4 Reading Guide - A Practical Guide to Linux
Feb 10 05:42 2003 chapter05guide.txt Chapter 5 Reading Guide - A Practical Guide to Linux
Feb 12 15:30 2003 chapter08guide.txt Chapter 8 Reading Guide - A Practical Guide to Linux
Mar 10 09:21 2003 chapter10guide.txt Chapter 10 Reading Guide - A Practical Guide to Linux
Mar 11 22:57 2003 chapter10guideB.txt Chapter 10 Reading Guide (second half)
Mar 11 23:00 2003 chapter10guideC.txt Chapter 10 Reading Guide (third half) (!?)
Mar 13 22:58 2003 chapter11guide.txt Chapter 11 Reading Guide - A Practical Guide to Linux
Important Notes (alphabetical order)
Jan 6 08:34 2003 README.txt README - Index to this DAT2330 directory
Feb 12 15:39 2003 acadunix_help.txt Using the ACADUNIX IBM Unix machine
Jan 6 03:10 2003 arguments_and_options.txt Options and Arguments on Unix Command Lines
Jan 6 03:10 2003 echo_commands.txt No standard for the "echo" command
Mar 11 22:55 2003 expansion_order.txt Order of Shell Command Line processing
Jan 6 03:10 2003 file_system.txt Unix/Linux File System - (the weird parts)
Mar 23 20:34 2003 final_directions.txt Directions for writing in-Lab Unix Final Exam (Scripting Section)
Jan 13 01:52 2003 floppix_boot_howto.txt Loading and Configuring floppy-based Floppix
Jan 15 17:27 2003 floppix_boot_questions.txt Typical Answers for a Floppix Boot Sequence
Jan 6 03:10 2003 home_and_HOME.txt Directories: current, HOME, and /home
Jan 15 17:45 2003 how_to_print.txt How to print from ACADUNIX
Aug 5 14:13 2003 internet_basics.htm Internet Basics
Jan 6 03:10 2003 less_code.txt Less Code is Better Code - stop cutting and pasting identical code
Jan 6 03:10 2003 links_and_inodes.html Hard links and Unix file system nodes (inodes)
Jan 6 03:10 2003 man_page_RTFM.txt Searching for items in the Unix manual pages (RTFM)
Feb 10 06:00 2003 miscellaneous.txt Miscellanous Unix Facts
Mar 11 23:38 2003 nesting.txt Avoiding deeply nested IF statements (Structured/Un-Structured)
Jan 8 15:06 2003 os_intro.txt Notes on Assessing an Operating System
Jan 8 00:53 2003 os_intro_points.txt Summary Slide for O/S Introduction
Jan 6 03:10 2003 pathnames.txt Unix/Linux Pathnames
Jan 28 00:00 2003 practice01.txt Practice Unix/Linux Questions #1
Jan 6 03:10 2003 quotes.txt Unix/Linux Shell Command Line Quoting
Jan 6 03:10 2003 redirection.txt Unix Shell I/O Redirection
Feb 10 06:21 2003 review1.txt DAT2330 Review #1 - Basic Shell Concepts
Mar 11 23:51 2003 script_checklist.txt Shell Script Checklist - a list of things to verify in your shell scripts
Mar 12 00:44 2003 script_style.txt Shell Script Programming Conventions and Style
Feb 17 09:04 2003 shell_script_execution.txt How a Shell Script is "Executed"
Jan 6 03:10 2003 shells.txt The Unix Shell
Feb 19 23:35 2003 startup_files.txt Setting up Startup Files: .profile and .bashrc
Feb 11 23:45 2003 tar_GNU_and_not.txt ACADUNIX tar commands (GNU and not-GNU)
Mar 19 16:05 2003 telnet_usage.html Using Telnet/Ssh to Unix Systems
Jan 6 03:10 2003 umask.txt Umask and Permissions
Mar 21 04:33 2003 unix_practice_0.txt Practice Unix/Linux Scripts - Chapters 5, 10, 11 - Part 1
Mar 21 04:33 2003 unix_practice_1.txt Practice Unix/Linux Scripts - Chapters 5, 10, 11 - Part 2
Mar 21 04:33 2003 unix_practice_2.txt Practice Unix/Linux Script - whodater.sh
Mar 21 04:33 2003 unix_practice_3.txt Practice Unix/Linux Script - differ.sh
Feb 12 15:38 2003 vi_basics.txt The VI (VIM) Editor - Basics
Labs/Assignments/Exercises
Aug 5 14:13 2003 exercise01.txt Exercise #1 for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 3 16:16 2003 exercise01answer.txt Sample Solution to Exercise #1
Jan 23 15:30 2003 exercise02.txt Exercise #2 for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 3 16:10 2003 exercise02answer.txt Sample Solution to Exercise #2
Jan 29 00:57 2003 exercise03.txt Exercise #3 for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 3 15:24 2003 exercise03_README.txt README.txt from Exercise #3
Feb 3 15:19 2003 exercise03answer.txt Sample Solution to Exercise #3
Feb 10 09:14 2003 exercise04.txt Exercise #4 for DAT2330 - Ian Allen - idallen@ncf.ca
Feb 10 09:01 2003 exercise04_README.txt README.txt - Exercise #4 Instructions
Mar 14 05:04 2003 exercise05.txt Exercise #5 for DAT2330 - Ian Allen - idallen@ncf.ca
Mar 23 14:37 2003 exercise05_README.txt Exercise #5 for DAT2330 - Ian Allen - idallen@ncf.ca
Mar 23 15:14 2003 exercise05answer.sh.txt Sorts three integers on the command line; prompts for missing numbers.
Shell Scripts
Jan 6 03:10 2003 argv.sh.txt This shell script displays the command line arguments.
Mar 14 02:32 2003 file_size_classer.sh.txt Classify a file as small, medium, large.
Mar 11 18:21 2003 iftest1.sh.txt compare two files in an IF statement, checking the return status of DIFF
Mar 11 18:21 2003 iftest2.sh.txt demonstrate the TEST command in an IF statement (numeric test)
Mar 11 18:22 2003 iftest3.sh.txt demonstrate the TEST command in an IF statement (string tests)
Mar 11 18:22 2003 iftest4.sh.txt File-testing operations by the TEST command in an IF statement
Mar 11 18:22 2003 iftest5.sh.txt Perform several tests on the first argument to this script.
Mar 11 18:22 2003 iftest6.sh.txt If the script has one argument, tell whether it is readable.
Mar 13 17:46 2003 iftest7.sh.txt Count the number of lines in the first file name argument.
Mar 11 18:23 2003 iftest8.sh.txt A "backup" script - Structured Programming Version (one entry / one exit).
Mar 11 18:23 2003 iftest9.sh.txt A "backup" script - Non-Structured Programming Version (many exits).
Mar 14 03:09 2003 optional_args_if1.sh.txt Demonstrate prompting for missing command line arguments.
Mar 14 01:53 2003 optional_args_if2.sh.txt Demonstrate prompting for missing command line arguments.
Mar 14 02:32 2003 optional_args_if3.sh.txt Display PWD MAIL HOME replaced by optional command line arguments.
Mar 14 02:32 2003 path_validator.sh.txt Validate a single command line argument (file or directory).
Mar 11 18:24 2003 showtest.sh.txt Demonstrate the many uses of the built-in TEST command
Mar 14 02:32 2003 sort_top_five.sh.txt This scripts sorts a file and displays the top 5 lines.
Mar 14 02:32 2003 string_compare.sh.txt This script compares two strings: an argument and stdin.
Mar 11 18:24 2003 whoson1.sh.txt The "whoson" script from Practical Guide to Linux p.303
Mar 11 18:24 2003 whoson2.sh.txt Fixed "whoson" script from Practical Guide to Linux p.303
C and C++ Programs
Jan 6 03:10 2003 argv.c++.txt Display the arguments on the command line.
Jan 6 03:10 2003 argv.c.txt Display the arguments on the command line.
Jan 6 03:10 2003 helloworld.c++.txt This is a sample "Hello World!" C++ file.
Jan 6 03:10 2003 simplepipe.c.txt Simple two-process pipe.
Jan 6 03:10 2003 simpleshell.c.txt Simple Unix Shell.
Course Outline / pdf,doc,wpd
Jan 21 14:58 2003 dat2330_03w_course_outline.pdf
Jan 6 16:58 2003 lab_access.txt Lab T-111 Usage - Winter 2003
Tests and Exams (with Answers)
Apr 2 19:40 2003 midterm3wednesday.sh.txt DAT2330 03W Unix Final - Wednesday Script Sample Solution
Apr 2 19:38 2003 midterm3tuesday.sh.txt DAT2330 03W Unix Final - Tuesday Script Sample Solution
Apr 2 19:38 2003 midterm3thursday.sh.txt DAT2330 03W Unix Final - Thursday Script Sample Solution
Apr 2 19:38 2003 midterm3monday.sh.txt DAT2330 03W Unix Final - Monday Script Sample Solution
Mar 31 00:13 2003 midterm3.txt Midterm 3 - Unix - with answers
Mar 30 23:03 2003 midterm3.pdf
Mar 30 23:02 2003 midterm3.ps
Mar 18 02:22 2003 practiceTest3.pdf
Mar 18 02:21 2003 practiceTest3.ps
Mar 18 02:21 2003 practiceTest3.txt DAT2330 Practice Final Exam - Ian Allen - Winter 2003
Mar 18 01:23 2003 practiceTest1.txt DAT2330 Practice Test - Ian Allen - Winter 2003 20 minutes
Mar 18 01:23 2003 practiceTest2.txt DAT2330 Practice Test - Ian Allen - Winter 2003 49 minutes
Feb 24 21:46 2003 midterm2.txt Midterm 2 - Unix - with answers
Feb 24 21:38 2003 midterm2.pdf
Feb 24 21:38 2003 midterm2.ps
Feb 19 22:30 2003 practiceTest2.pdf
Feb 19 22:28 2003 practiceTest2.ps
Feb 16 03:27 2003 midterm2_topics.txt What will be tested on Midterm #2 - Unix
Feb 10 11:37 2003 midterm1.txt Midterm 1 - Unix - with answers
Feb 10 11:18 2003 midterm1.pdf
Feb 10 11:15 2003 midterm1.ps
Feb 3 03:19 2003 practiceTest1.pdf
Feb 3 02:19 2003 practiceTest1.ps
Optional Material
Feb 13 17:49 2003 opt_wt111_lab_config.txt WT111, WT114, WT115 hardware information
Feb 13 17:36 2003 opt_career_fair2.jpg
Feb 13 17:30 2003 opt_career_fair1.jpg
Jan 27 12:38 2003 opt_open_source2.txt E-Week Magazine explains Linux and Open Source
Jan 6 08:35 2003 opt_unix_vs_mainframe.txt A UNIX Server Is NO Mainframe
Jan 6 03:10 2003 opt_mainframe_linux.txt IBM System/390: The Linux Dream Machine
Jan 6 03:10 2003 opt_open_source.txt E-Week Editorial - Software Independence
Jan 6 03:10 2003 opt_why_shell.txt Why Learn to program the Unix Shells?
Important Notes (chronological order)
Aug 5 14:13 2003 internet_basics.htm Internet Basics
Mar 23 20:34 2003 final_directions.txt Directions for writing in-Lab Unix Final Exam (Scripting Section)
Mar 21 04:33 2003 unix_practice_0.txt Practice Unix/Linux Scripts - Chapters 5, 10, 11 - Part 1
Mar 21 04:33 2003 unix_practice_1.txt Practice Unix/Linux Scripts - Chapters 5, 10, 11 - Part 2
Mar 21 04:33 2003 unix_practice_2.txt Practice Unix/Linux Script - whodater.sh
Mar 21 04:33 2003 unix_practice_3.txt Practice Unix/Linux Script - differ.sh
Mar 19 16:05 2003 telnet_usage.html Using Telnet/Ssh to Unix Systems
Mar 12 00:44 2003 script_style.txt Shell Script Programming Conventions and Style
Mar 11 23:51 2003 script_checklist.txt Shell Script Checklist - a list of things to verify in your shell scripts
Mar 11 23:38 2003 nesting.txt Avoiding deeply nested IF statements (Structured/Un-Structured)
Mar 11 22:55 2003 expansion_order.txt Order of Shell Command Line processing
Feb 19 23:35 2003 startup_files.txt Setting up Startup Files: .profile and .bashrc
Feb 17 09:04 2003 shell_script_execution.txt How a Shell Script is "Executed"
Feb 12 15:39 2003 acadunix_help.txt Using the ACADUNIX IBM Unix machine
Feb 12 15:38 2003 vi_basics.txt The VI (VIM) Editor - Basics
Feb 11 23:45 2003 tar_GNU_and_not.txt ACADUNIX tar commands (GNU and not-GNU)
Feb 10 06:21 2003 review1.txt DAT2330 Review #1 - Basic Shell Concepts
Feb 10 06:00 2003 miscellaneous.txt Miscellanous Unix Facts
Jan 28 00:00 2003 practice01.txt Practice Unix/Linux Questions #1
Jan 15 17:45 2003 how_to_print.txt How to print from ACADUNIX
Jan 15 17:27 2003 floppix_boot_questions.txt Typical Answers for a Floppix Boot Sequence
Jan 13 01:52 2003 floppix_boot_howto.txt Loading and Configuring floppy-based Floppix
Jan 8 15:06 2003 os_intro.txt Notes on Assessing an Operating System
Jan 8 00:53 2003 os_intro_points.txt Summary Slide for O/S Introduction
Jan 6 08:34 2003 README.txt README - Index to this DAT2330 directory
Jan 6 03:10 2003 arguments_and_options.txt Options and Arguments on Unix Command Lines
Jan 6 03:10 2003 echo_commands.txt No standard for the "echo" command
Jan 6 03:10 2003 file_system.txt Unix/Linux File System - (the weird parts)
Jan 6 03:10 2003 home_and_HOME.txt Directories: current, HOME, and /home
Jan 6 03:10 2003 less_code.txt Less Code is Better Code - stop cutting and pasting identical code
Jan 6 03:10 2003 links_and_inodes.html Hard links and Unix file system nodes (inodes)
Jan 6 03:10 2003 man_page_RTFM.txt Searching for items in the Unix manual pages (RTFM)
Jan 6 03:10 2003 pathnames.txt Unix/Linux Pathnames
Jan 6 03:10 2003 quotes.txt Unix/Linux Shell Command Line Quoting
Jan 6 03:10 2003 redirection.txt Unix Shell I/O Redirection
Jan 6 03:10 2003 shells.txt The Unix Shell
Jan 6 03:10 2003 umask.txt Umask and Permissions