Unix Tools
Course#: V22.0468-001
Instructor: Mehryar Mohri
Mailing List

Course Description

This course presents an introduction to the UNIX programming tools. The material is largely based on that of the Unix Tools course of Jeff Korn and Ernest Lee, courtesy of Jeff Korn and Ernest Lee.


Location and Time

Room 101 Warren Weaver Hall,
251 Mercer Street.
Tuesdays and Thursdays, 3:30 PM - 4:45 PM.


Prerequisite

This course requires an understanding of modern operating systems and a working knowledge of a programming language such as C, C++ or Java. Students will be asked to work on a substantial programming project and will need to develop good technical writing skills and programming skills.


Projects and Assignments

About 4-5 assignments and one project. The standard high level of integrity is expected from all students, as with all CS courses.


Lectures

&bull Lecture 01: Course overview
Reading: Glass: Chapter 1 and 2
&bull Lecture 02-03: The UNIX filesystem and shell intro
Reading: Glass: Chapter 3
&bull Lecture 04-05: Processes and filters
Reading: Glass: Chapter 3; UNIX Bookshelf: UNIX Power Tools
&bull Lecture 06-07: Regular expressions
Reading: Glass 2nd Edition: Chapter 7. Glass 3rd Edition: Chapter 3
&bull Lecture 08-09: Sed and Awk
Reading: UNIX Bookshelf: Sed/Awk book; Glass Third Ed: Chapter 4 and 5
&bull Lecture 10-11: Shell scripting, scripting examples
Reading: UNIX in a Nutshell: Chapter 4; UNIX Bookshelf: Learning the Korm Shell; Glass Third Edition: Chapter 4, 5, 6 and 8
&bull Lecture 12: More on ksh and bash.
Reading: UNIX in a Nutshell: Chapter 4; UNIX Bookshelf: Learning the Korm Shell; Glass Third Edition: Chapter 4, 5, 6 and 8
&bull Lecture 13: Midterm [solution]
&bull Lecture 14: Go over midterm, discuss final projects
&bull Lecture 15: CGI programming
Reading: Glass 3nd Edition: Chapter 10. Glass 2nd Edition: Chapter 9
&bull Lecture 16: Perl
Reading: On-line Perl Tutorial; see also Perl 5 Reference Guide and Man Pages
&bull Lecture 17-18: Perl Part II and Programming Tools
Reading: Glass 2nd Edition Chapter 11, Glass 3rd Edition Chapter 12; Unix in a Nutshell: Chapters 18, 19 and 20
&bull Lecture 19-20: Security
&bull Lecture 21-22: Linux administration
&bull Lecture 23-24: User interface and final review
Reading: Glass: Chapter 1
&bull Lecture 27-28: Weighted Unix Tools.


Textbooks


Homework assignments