submit The submit program allows you to electronically submit you labs to the instructor to be graded. Prior to running the program you should have completed the lab, written the READ.ME file, and placed the lab and READ.ME file on to your UNIX account. Then from the UNIX command line you can submit your files with the following command: submit -v course_account labname file(s) The submit commands parameters are: -v: This tells the submit program to tell you which files are being submitted. course_account: The course account name (for this class it's icsa700). labname: The name that the instructor is using to designate the lab. file(s): A list of one or more files that you want to submit. Separate the individual files with spaces. Example 1: If for lab 1 you wanted to submit the code files lab1.C lab1.H util.C and util.H, and you also wrote the documentation file README you could submit the two files to the icsa700 account for lab1 with the following command: submit -v icsa700 lab1 lab1.C lab1.H util.C util.H README Notice that UNIX is case sensitive, so all commands should be entered in lowercase, and the file README is not the same as the file readme. IMPORTANT The submit command will store all the files you specify in a single compressed file that uses your user ID as a name. Any subsequent calls to submit will DELETE ALL your previously submitted files, and replace them with the new files you specified. This means that you have to submit all the files that you want to be graded with a single submit command. If, after you do the submit, you find that you have to make a change to any of the submitted files, you must re-submit ALL the files. cksubmit The cksubmit program allows students to verify the contents of a previously-submitted assignment. The output from cksubmit is a list of all files submitted to course_account as assignment labname. The -v argument causes the list of files to contain, in addition to file names, the sizes and modification times for each entry in the archive. The -x argument causes cksubmit to extract a copy of all submitted files into the current directory, allowing the submitter to verify that the submitted files are, indeed, what was intended (e.g., that all source files were submitted for a programming assignment.) Note that this option is best used in a directory other than the original source directory if verification is intended. The -x option implies -v. cksubmit -v course_account labname Example 2: Now suppose the student from example 1 wants to check to make sure the instructor received all the desired files for lab1. He could get a list of the files with the following cksubmit command: cksubmit icsa700 lab1 Which would produce the output: lab1.C lab1.H util.C util.H README If the student is still not satisfied, he can execute the commands: cd otherdir cksubmit -x icsa700 lab1 To extract a copy of the files in another directory, and can go on to recompile the program to verify that all components are present in the submitted version.