Here is how you use shar to send your homework. Suppose you are currently in a directory called Homework. This directory contains a subdirectory called Hw3. First, clean up that directory by getting rid of all files that you do not want to send to the grader, such as a.out or any other executable file, old incorrect versions, etc. Go back up to the directory Homework and type: shar Hw3 > hw3.sh When it finishes doing its work, then email the file hw3.h to the grader.