Index of dat2330/03f/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
* 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 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
Important 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
Sep 30 00:09 2003 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
Sep 10 04:25 2003 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 10 04:08 2003 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
Oct 18 04:09 2003 redirection.txt Unix Shell I/O Redirection
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
Labs/Assignments/Exercises
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 Sample Solution to Exercise #3
Sep 18 03:13 2003 exercise04.txt Exercise #4 for DAT2330 due September 24
Sep 28 16:52 2003 exercise04script.sh.txt Sample Solution to Exercise #4
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
Sep 15 14:50 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 Compare two files in an IF statement, checking the return status of DIFF.
Oct 14 16:33 2003 iftest2.sh.txt Demonstrate the TEST command in an IF statement (numeric test).
Oct 14 16:36 2003 iftest3.sh.txt Demonstrate the TEST command in an IF statement (string tests).
Oct 14 16:45 2003 iftest4.sh.txt File-testing operations by the TEST command in an IF statement.
Oct 14 16:53 2003 iftest5.sh.txt Perform several tests on the first argument to this script.
Oct 14 16:55 2003 iftest6.sh.txt If the script has one argument, tell whether it is exists and is readable.
Oct 14 17:02 2003 iftest7.sh.txt Count the number of lines in the first file name argument.
Oct 14 17:04 2003 iftest8.sh.txt A "backup" script - Structured Programming Version (one entry / one exit).
Oct 14 17:04 2003 iftest9.sh.txt A "backup" script - Non-Structured Programming Version (many exits).
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 Demonstrate the many uses of the built-in TEST command.
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 A shell script to display the users currently logged in.
C and C++ Programs
Oct 3 12:10 2003 argv.c++.txt Display the arguments on the command line.
Sep 15 14:50 2003 argv.c.txt Display the arguments on the command line.
Oct 3 12:10 2003 stdxxx.c++.txt Produces output on stdout and stderr, prompts and reads from stdin.
Course Outline / pdf,doc,wpd
Sep 6 01:49 2003 Class Rep Form.pdf
Sep 6 01:49 2003 Class Rep Job Description.wpd
Sep 6 01:49 2003 Directive E02.wpd
Sep 6 01:49 2003 Program Levels for Fall 03.doc
Oct 21 17:44 2003 dat2330_03f_course_outline.pdf
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
Tests and Exams (with Answers)
Nov 3 13:12 2003 termTest2scriptB.sh.txt Sample solution to Unix Final Script (neat version)
Nov 3 13:11 2003 termTest2scriptA.sh.txt Sample solution to Unix Final Script (sloppy version)
Nov 3 12:42 2003 termTest2script.txt Unix Term Test #2 Script Question
Nov 3 12:41 2003 termTest2script.pdf
Oct 30 17:44 2003 termTest2.pdf
Oct 30 17:44 2003 termTest2.txt Unix Term Test #2
Oct 30 17:44 2003 termTest2.ps
Oct 27 14:20 2003 termTest2script.ps
Oct 25 17:43 2003 practiceTest2.pdf
Oct 25 17:42 2003 practiceTest2.ps
Oct 25 17:37 2003 practiceTest2.txt Practice Test
Sep 24 11:18 2003 termTest1.txt Unix Term Test #1
Sep 24 11:18 2003 termTest1.pdf
Sep 24 11:18 2003 termTest1.ps
Sep 16 17:14 2003 practiceTest1.pdf
Sep 16 17:14 2003 practiceTest1.ps
Sep 16 17:14 2003 practiceTest1.txt Practice Test
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 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)
Nov 3 12:35 2003 abbreviations.txt Marking Code comment abbreviations
Oct 25 14:38 2003 exit_status.txt Return Code, Exit Status, test, if, and while
Oct 24 02:05 2003 file_transfer.txt File transfer between machines
Oct 20 11:59 2003 shell_variables.txt Shell Variables you should know (including $* and $@)
Oct 18 12:07 2003 shell_read.txt Reading stdin into shell variables
Oct 18 04:09 2003 redirection.txt Unix Shell I/O Redirection
Oct 18 03:42 2003 quick_tests.txt Return Code, Exit Status, ||, &&, test, and if
Oct 18 03:34 2003 less_code.txt Less Code is Better Code - stop cutting and pasting identical code
Oct 18 03:31 2003 script_style.txt Shell Script Programming Conventions and Style
Oct 18 03:21 2003 script_checklist.txt Shell Script Checklist - a list of things to verify in your shell scripts
Oct 18 03:16 2003 deep_nesting.txt Avoiding deeply nested IF statements (Structured/Un-Structured)
Oct 17 22:34 2003 script_practice1.txt Practice Script #1 Specifications
Oct 6 14:27 2003 tar_GNU_and_not.txt ACADUNIX tar commands (GNU and not-GNU)
Oct 4 01:26 2003 shell_prompt.txt Setting the BASH shell prompt
Oct 3 14:30 2003 course_linux_server.txt File transfer to/from the Course Linux Server
Sep 30 01:50 2003 shell_script_execution.txt How a Shell Script is "Executed"
Sep 30 00:09 2003 file_system.txt Unix/Linux File System - (correct explanation)
Sep 29 23:53 2003 unix_permissions.txt Unix Permissions
Sep 18 03:47 2003 knoppix_booting.txt Using the Knoppix Linux CDROM
Sep 18 03:02 2003 practiceCommands_1.txt Practice Unix/Linux Questions #1
Sep 16 21:47 2003 redirection2.txt Unix Shell I/O Redirection - Part II
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 10 04:25 2003 links_and_inodes.html Hard links and Unix file system nodes (inodes)
Sep 10 04:08 2003 pathnames.txt Unix/Linux Pathnames
Sep 3 06:06 2003 miscellaneous.txt Miscellanous Unix Facts
Sep 3 04:07 2003 startup_files.txt Setting up Startup Files: .profile and .bashrc
Sep 3 04:00 2003 internet_basics.html Internet Basics
Sep 3 03:44 2003 home_and_HOME.txt Directories: current, HOME, and /home
Sep 3 03:20 2003 arguments_and_options.txt Options and Arguments on Unix Command Lines
Sep 3 03:19 2003 quotes.txt Unix/Linux Shell Command Line Quoting
Sep 3 02:53 2003 shells.txt The Unix Shell
Sep 3 02:36 2003 how_to_print.txt How to print from ACADUNIX
Sep 3 02:36 2003 man_page_RTFM.txt Searching for items in the Unix manual pages (RTFM)
Aug 27 18:03 2003 telnet_usage.html Using Telnet/Ssh to Unix Systems
Aug 27 17:00 2003 vi_basics.txt The VI (VIM) Editor - Basics
Aug 27 15:06 2003 acadunix_help.txt Using the ACADUNIX IBM Unix machine
Aug 25 14:15 2003 os_intro_points.txt Summary Slide for O/S Introduction
Aug 25 14:14 2003 os_intro.txt Notes on Assessing an Operating System
Aug 24 00:00 2003 README.txt README - Index to this DAT2330 directory