|
CLASS INFORMATION:
CNET 147-01 (037837) and CS 147-01 (037906)
(They're cross-referenced, so you may enroll in either one
to be in the class.)
The class meets in room HH-114 Tuesday evenings from
7:00 - 10:10.
CNET 147-02 (037838) and CS 147-02 (037907)
(They're cross-referenced, so you may enroll in either one
to be in the class.)
This section is online, and is delivered through
Blackboard, but you're welcome to come
to the in-person classes.
COURSE DESCRIPTION:
This course introduces UNIX shells, describing the differences between the major ones. Students will learn to write shell scripts using vi, sed, and awk, then use those tools to write scripts for the Bourne, C, Korn, and bash shells. This course will be taught using a combination of lectures, demonstrations, discussions, and hands-on labs.
COURSE OBJECTIVES:
At the completion of this course, with
appropriate study, you will be able to:
- use regular expressions and metacharacters in writing
shell scripts
- use grep to search for regular expressions in files
- use sed to perform editing tasks useful in shell scripts
- use awk for manipulating data and generating reports
- write shell scripts using C shell, Bourne shell, Korn shell,
and bash
PREREQUISITE: CS 180
TEXTBOOK:
|
Unix Shells by Example, Fourth edition
author is Ellie Quigley;
publisher is Prentice-Hall;
ISBN 0-13-147572-X
|
IMPORTANT DATES:
Here are a few dates you might want to know.
For a more complete list, go to
http://www.ohlone.edu/org/admissions/fallacademiccalendar.html
|
Sep 2
|
First day of class
|
|
Sep 5
|
Last day to add - without instructor's signature
|
|
Sep 15
|
Last day to add - with instructor's signature
Last day to drop and receive no grade
|
|
Sep 26
|
Last day to apply for CR/NC
|
|
Nov 18
|
Last day to drop and receive a "W"
|
|
Dec 16
|
Final Exam
|
|
GRADE COMPONENTS:
|
|
GRADING SCALE:
|
Homework
Midterm Exam
Midterm Lab
Final Exam
Final Lab
|
30% 15% 15% 20% 20%
|
|
90 - 80 - 65 - 55 - 0 -
|
100 89 79 64 54
|
= A = B = C = D = F
|
TESTS:
The Midterm (anticipated date: Oct 14) and Final (Dec 16) will each
consist of two parts. The first part will be closed-book/closed-notes
and will contain multiple choice, true/false, and short answer questions.
The second part will be program(s) for you to write using the commands
you have used (or should have used) in your homework.
This part allows access to both notes and book.
HOMEWORK:
A programming assignment will be made each week. Students will be
expected to use an SSH client to connect to my Linux computer, where
they will write, test, and submit script(s) for the assignment.
The score for each script will be based on whether or not it runs,
how well the code meets the specifications of the assignment, and
how well it performs the specified task(s) on my Linux computer.
ACADEMIC INTEGRITY:
As a student at Ohlone College, you are expected to pursue your
course work with honesty and integrity. If you do not, I will
abide by Ohlone Board policy, which you are expected to know.
You can read it
here.
For this particular class, you are encouraged to talk to fellow
students about concepts and methods, but not to copy someone else’s
work. If projects are submitted that are substantial copies of each
other, both students will receive a grade of zero. If you are working
from another reference source, cite it in your comments.
SCHEDULE:
Here's the plan. I may make changes as we go along.
|
Date
|
Lecture Topic
|
|
Sep 2
|
Introduction to the class,
Ch. 1: Introduction to Unix Shells
Ch. 3: Regular Expressions and Pattern Matching
|
|
Sep 9
|
Ch. 4: The grep Family
|
|
Sep 16
|
Ch. 5: sed, the Streamlined Editor
|
|
Sep 23
|
Ch. 6: The awk Utility
|
|
Sep 30
|
(Ch. 6, continued)
|
|
Oct 7
|
Ch. 7 The Interactive Bourne Shell
Ch. 8 Programming in the Bourne Shell
|
|
Oct 14
|
Midterm
(Chapters 1, 3, 4, 5, 6, 7)
|
|
Oct 21
|
(Ch. 8, continued)
|
|
Oct 28
|
Ch. 9 The Interactive C Shell
Ch. 10 Programming in the C Shell
|
|
Nov 4
|
(Ch. 10, continued)
|
|
Nov 11
|
Holiday!!
|
|
Nov 18
|
Ch. 11 The Interactive Korn Shell
Ch. 12 Programming in the Korn Shell
|
|
Nov 25
|
(Ch. 12, continued)
|
|
Dec 2
|
Ch. 13 The Interactive Bourne-again shell (bash)
Ch. 14 Programming in the Bourne-again shell (bash)
|
|
Dec 9
|
(Ch. 14, continued)
|
|
Dec 16
|
Final Exam
|
- - - - - - - - - -
Please contact
msegraves@ohlone.edu
with your questions, comments, and suggestions.
Terms and Conditions of Use & Disclaimer.
Copyright © 2008
Ohlone College.
|