CS114: Homework 2

Do all of the problems below on one of the CSUG Linux machines, i.e. csug01 through csug06.csuglab.cornell.edu. Run the submission script for problem 1. Turn in your answers (hardcopy) to problems 2 and 3 with your full name and netID, in class or in my mailbox (657 Rhodes) by 5 p.m. on the due date given on the main course page.

Problem 1

To submit this assignment, run the script ~wes28/bin/submit-2. Be sure you have logged out and logged back in before running the submission script, and be sure that you are logged in using the new shell when you run the script. Make ONE submission ONLY.
NOTE: When you are finished with the submission, you are free to change your shell, variables, etc. to whatever you would like.

Problem 2

Create one-line commands using | that do the following:

Problem 3