Homework 2
By now, you should have scanned chapters 13 and 14 of the Quigley textbook. On pages 959-960 of the Quigley textbook, lab 54 appears. Complete the following sections of this lab for 10 points:
- 1.a
- 1.b (note: greet user by login name, e.g., Hello kena!)
- 1.c
- 1.d
- 1.e
- 1.i (note: include variable name in your ouput, e.g., "PATH = /Users/kena/")
- 1.j
- 1.k
- 1.l
- 1.m
- In Addition: make sure that your script exits with a status code of zero (i.e. success)
Note: some portions of this assignment will require you to read the man
pages of various Unix commands.
Submission
Please submit the bash
script that you created for homework 2 by uploading the file to the moodle. (You should of course verify that it works before uploading it.) Note: you will be creating a single script (greetme
) that does 11 things not 11 separate scripts that each do only one thing.