Outline: BIF703



 

OPERATING SYSTEMS and SHELL SCRIPTING

Prerequisites

None
 

Topic Outline

Introduction to Windows XP
· Elements of the desktop and taskbar
· Launching applications
· Access Phobos and Matrix accounts by telnet application
· Shortcut Keys / Creating shortcut icons
· Configure Desktop and Hardware
· Using the command prompt (common commands)
· Install MS-Windows applications
· File Management
· Zipping and Unzipping Files

Unix Basics: 
· The Unix Philosophy
· Logging in and out (login, ctrl-d, exit, logout) 
· Changing passwords (passwd) 
· Command line structure (arguments, options)
· Command line editing (correcting mistakes, recalling commands) 
· Online system information (man, HOWTOs, DOCs) 

Common Utilities: 
· File manipulation (grep, head, tail, sort, uniq, diff) 
· Command aids (file, which, whereis) 
· Printing (lpr, lpq, lprm) 
· Useful commands (echo, date, who) 
· Communication (write, talk, mesg, mail, finger, telnet, ftp)

Unix File system: 
· File hierarchy 
· Kinds of files (directory, ordinary, linked) 
· Filenames (hidden files, invisible files) 
· Files and directories (ls, cat, less, more, rm, cd, cp, mv, mkdir, rmdir)
· Disk information (du, df) 
· Archiving / Restoring large files / Installing Linux Software (tar, gzip, gunzip, rpm)
· Absolute and relative pathnames (pwd) 
· Access permissions (chmod, umask) 
 
Common Shell Operations: 
· Common shells (sh, csh, ksh, bash) 
· Standard input and output 
· File redirection and piping (< , > ,>> , <<, |, tee) 
· Process control (&, ps, kill, ctrl-c, ctrl-z, fg, bg) 
· Ambiguous File Reference (?, *, [ ]) 
· Quoting Special Characters (\, single quotes, double quotes) 
· Command separation and grouping ( ; & ( ) ) 
· Startup files (/etc/profile, .bash_profile, .profile, .bashrc, .bash_history) 
· Variables (keyword, positional parameters, user-created, alias, export)
· Command substitution - $(   )
· Mathematical operation - $((   ))

HTML: 
· HTML vs XHTML
· World Wide Web Consortium - W3C (xhtml / html validator page)
· Webpage structure and design 
· Basic XHTML tags
· Tables
· Forms 

Bash Shell Scripting: 
· Creating portable shell scripts (#!) 
· Commenting (#) 
· Control Flow Statements (test, if, elif, else, for, while, until, break, continue, exit) 
· Functions (predefined, user-defined, getopts)

Regular Expressions: 
· Basic regular expressions 
· Pattern matching. 
· Examples using grep, more, less and vi 
 

Required Texts:

A Practical Guide to Linux by Mark Sobell - 1997
Published by Addison Wesley
ISBN 0-201-89549-8
 

Reference Material:


HTML for the World Wide Web by Elizabeth Castro - 2000
Published by Visual Quick Start Peachpit Press
ISBN 0-201-35493-4
 

Required Supplies: 

none

Evaluation:

 Mid Term Test (1)     30%
 Term Work (11 Labs, 3 assignments)   25%
 Quizzes       5%
 Final Exam      40%
 Total                100%
 

Grading Scheme:

                                GPA
  A+  90% - 100%    4.0
  A  80% - 89%    4.0
  B+  75% - 79%    3.5 
  B  70% - 74%    3.0
  C+  65% - 69%    2.5
  C  60% - 64%    2.0
  D  55% - 59%    1.0
  F    0% - 54%    0.0
 

Cheating and Plagiarism:


Cheating and plagiarism are major academic offences and carry serious penalties.  First offence:  A student caught cheating will receive a mark of “0” “on the work in which the offense occurred”  and have a comment indicating cheating listed on their transcript.  This comment will be removed upon graduation.  Second or subsequent offence:  “The penalty for the second offense of cheating or plagiarism is immediate expulsion from the college for the remainder of the semester or longer, depending on the circumstances.” 2 The comment will remain on the student’s transcript and will not be removed upon graduation.    Students are referred to College Policy on “Cheating and Plagiarism” in the College Academic Policy.
 

Policy on Discrimination/Harassment:


All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment.  Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated.  Information and assistance are available from the Centre of Equity and Human Rights, Room 1185, Seneca@York, 491-5050, ext. 3088.
 
 

 General School Policies and Guidelines:


Submission of Lab Assignments:

All lab assignments must be submitted by the time specified by the faculty.  A penalty of 1 grade level will be imposed for all material submitted late on the day it was due and a further grade level per day will be imposed after one week.  All lab assignments must be properly completed in order to pass the course.

Tests:

The evaluation process through tests is an essential component of the course and therefore attendance at all tests is mandatory.  Any absences must be supported by a legal document within one week.  The faculty must be notified immediately by phone/e-mail in the event of a missed test.  Upon acceptable justification of a missed test the student’s test mark may be based on other methods of evaluation or a supplemental test.

Final Exam:

The final exam must be written at the scheduled time and location.  The faculty must be notified immediately by phone / e-mail in the event of the missed exam and supporting documentation must follow.

Acceptable Documentation:

Proper documentation is required for missed tests and exams.

Punctuality:

Show consideration for your classmates and respect for faculty by arriving on time to class.  If you know in advance of a class that you are going to be late, please let your faculty know.  Please arrive on time for classes so as to minimize disruption to your classmates and faculty.

Cell Phone Usage:

As a courtesy to your fellow students and faculty, cell phones should remain turned off while in class.  If, in the case of an emergency, the cell phone must remain on, please notify the teacher before class begins.

Computing Acceptable Use Policy:

All Students are responsible for abiding by the College’s Computing Acceptable Use Policy and for obeying Provincial and Federal laws/regulations regarding the use of computer equipment, facilities and/or networks.
 

Prepared by: ___________________________________________ ____________
  Murray Saul
 

Approved by: ___________________________________________ ____________
  Dan Phillips, Chair, BSAC
 
 



Last Updated:  Fall 2002