Howto for the homework submission command-line tool
To submit a homework solution:
- Connect to one of the Computer Science Department Linux machines
For every homework create a directory in your home directory
mkdir homework2) in which you will store all the files you want to submit. Avoid using spaces in your file and directory names.
While in the directory immediately above, execute the command:
submit askisi<number>@hy100 <dir>
<number>is the number of the homework assignment and
<dir>is the name of the directory containing the files you want to submit. For example, if the directory containing the files you want to submit is called
homework2for the 2nd homework assignment, the command you will use is:
submit askisi2@hy100 homework2
In case you get the error message: "Command not found", use the command with a full path:
/usr/local/bin/submit askisi2@hy100 homework2
The submit command compresses the student's assignment directory into a file called user.tar.gz (where user is the login name of the student calling the submit command).
The submit program associates each file with the submitting student (via the login ID) and for each file it holds the exact date and time of submission (timestamp) using the system clock.
Verify submitted assignment
To verify that your homework assignment solution is actually
submitted, you can execute the command:
ls -l ~hy100/SUBMIT/askisi<number>
<number> is the number of the
assignment. For example, for homework 2:
Locate your login in the file list that is printed. If you cannot
locate it, you should run the submit command again and resubmit your
assignment solution. As the file listing can be large, you can
alternatively use the command:
ls -l ~hy100/SUBMIT/askisi<number> | grep `whoami`
(note the reverse quotes `), or
ls -l ~hy100/SUBMIT/askisi<number> | grep <your_username>
which will filter the list and only show your submission, if it is submitted correctly.
Frequently Asked Questions (FAQ)
- Can I submit after the deadline?
No, all homework assignment solutions should be submitted within the predefined time limits.
- Can I resubmit an assignment solution?
You can submit your assignment solution as many times as you like (always within the time limit). The system stores all submissions using relative numbering.
- Can I submit my solution in parts (separately for part 1, part 2, etc)?
No, the answers to all the questions should be in the submitted directory.
Directions for using the SUBMIT command line tool can also be found here.