Unix Systems Programming: Lab 2 - Stat, Make & file I/O



Due:           Sunday, January 22, 2017 @ 5:00 pm

Purpose and Rationale

The purpose of this lab is to allow students to become comfortable with Unix file I/O operations, make and makefiles.

Resources

FAQ (submission instructions and other useful stuff)

If you are not on piazza, go to the course syllabus and register.

Lecture 2 is the primary source for this lab.

All work should be done on a machine in the department's Linux cluster. You can refer to ssh for more information on how to log into a remote machine.

Marks Distribution

Exercise 1 6 points
Exercise 2 6 points
TOTAL 12 points

NOTE:  If your code does not compile, it cannot be graded, and you will receive a 0 for that portion of the lab.

LAB 2

Deliverables

Carefully follow the steps below.

    1. Please create subdirectories ex1 and ex2, and place each exercise's materials in its respective directory as described below: