CS 114: Unix Tools

Course Times
MWF 2:30 - 3:20
Thurston 205
February 19, 2001 - March 16, 2001
Instructor
Amanda Holland-Minkley
hollandm@cs.cornell.edu
Upson 5141
Office Hours
M 3:30 - 4:30
Th 2:30 - 3:30
F 3:30 - 4:30

FAQ and Announcements

Answers to student questions, either about course policy or course material, will be posted here throughout the course. Look for course announcements here. Last updated: April 6, 2001

Administration

Answers to all of your administrative questions about CS114 should be found here: course texts, grading policies, and more!

Homeworks

All assignments are available off this website.

Homework 0 [html] Due 2/23, 2:30PM Returned 2/28
Homework 1 [html] Due 3/2, 2:30PM Returned 3/7
Homework 2 [html] edited 3/5 Due 3/9, 2:30PM Returned 3/14
Homework 3 [html] Due 3/16, 2:30PM Returned 3/28
Homework 4 [html] Due 3/30, 2:30PM Returned 4/6

The course will follow the following approximate schedule (subject to change):

Week 1 2/19 Introduction to UNIX: logging in, logging out, password management, command line interface, UNIX directory structure, directory navigation
Readings: DIS Chs.1,2,5.1-5.3,6.1; G&A Chs.1,2(first half)

passwords handed out
HW0 handed out, due 2/23
2/21 Introduction to UNIX: more files & directories, man pages
Readings: DIS Ch.5; G&A Ch.2 (first half)
2/23 Introduction to UNIX: permissions, wildcards (*,?), history, mail
Readings: DIS Ch. 4, 8.3-8.5; G&A chmod & mail/mailx in Ch. 2, history in Ch. 6
HW0 due, 2:30PM
HW1 handed out, due 3/2
Week 2 2/26 Processes: ps, foreground, background, &, ^Z, jobs, kill
Readings: DIS Ch. 7.6; G&A Ch. 3
2/28 File Manipulation: cat, more, less, redirection, grep, diff
Readings: DIS Ch. 7, 8.2; G&A Ch. 3, 7
3/2 File Manipulation: text processing: wc, head, tail, sort, cut, paste
Readings: DIS 8.2; G&A Ch. 2, 7
HW1 due, 2:30PM
HW2 handed out, due 3/9
Week 3 3/5 Editing Files: interactive editors files: vi, emacs
Readings: DIS Ch. 3, Appendix C; G&A Ch. 2; vi and emacs sections in UNIX in a Nutshell; vi man page; emacs tutorial; GNU Emacs Reference Card
3/7 Editing Files: sed - basic commands
Readings: G&A sed in Ch. 7, regexp in Appendix; sed section in UNIX in a Nutshell; A Small sed Tutorial; The sed FAQ; Do It With sed
3/9 Editing Files: sed - UNIX regular expressions and building scripts
Readings: see readings from 3/7
In-class Example:
using sed to center a file
HW2 due, 2:30PM
HW3 handed out, due 3/16
Week 4 3/12 Advanced UNIX Concepts: C Shell and environment customization - setenv, echo, which, paths, aliases, umask, .login, .cshrc
Readings: DIS Ch. 7&8; G&A Ch. 3
3/14 Advanced UNIX Concepts: C Shell, environment customization, and scripts - script syntax, variables, control flow
Readings: G&A Ch. 3 & 6
3/16 Advanced UNIX Concepts: Other shells, symbolic and hard links (ln), tar
Readings: lecture notes; DIS Ch. 8.4; G&A Ch. 7 (ln, tar)
HW3 due 3/16, 2:30PM
HW4 handed out 3/16, due 3/30