Electronically Submitting your Programming Assignments
You will be submitting your programming assignments electronically. The following
are the steps you should follow to submit your projects:
- Create a tar file. This file should consist of all the files
included in the assignment--for example the header files, source files, and
makefile (if you have one).
Procedure for constructing the tar file :-
- Start in the directory that contains all the files for your assignment
- At the system prompt ( shown here as $), type the following:
$ mkdir temp
(you can use any name in place of temp)
- Copy ( cp ) all the source files, header files and makefile needed to
compile your program to temp.
- Make a tar file of the temp directory:
$ tar cf yourname.tar temp
(if you used another name in place of
temp, use it here, too)
Important: yourname.tar is your mailbox name concatenated with .tar, e.g.
ewhite1.tar.
To double check to see if all the files are present in the tar file,
at the system prompt type:
$ tar tvf yourname.tar
When you reach this point you have successfully created the tar file.
- Next you will have to compress the tar file, to do so at the system prompt you
will have to do the following:
$ gzip yourname.tar
This deletes yourname.tar and replaces it with yourname.tar.gz
- Now you have to submit the compressed tar file electronically,
To use the submit program; type the following:
$ ~cs367/367bin/submit number ./yourname.tar.gz
The number varies each time you use the submit program and is the same as
the assignment number you are submitting. For example, for the first
assignment, if your account name is pwang, you would type the following:
$ submit 1 ./pwang.tar.gz
You will get a message telling you that either 1) it was successfully submitted,
2) it was successfully LATE submitted, or 3) it was not successful. If you
get the third message for several attempts, mail me your submission.
The system keeps the most recent submission per student.