Using the submit Utility

The DoIT project submission system is used for submission of assignments in many of our courses. The submit system is comprised of a set of commands available on GL that allow you to submit files electronically for grading. The submit commands available on GL are:

  • submit <course> <project> <file(s)> — submit assignments
  • submitls <course> <project> — lists files that you have submitted
  • submitrm <course> <project> <file(s)> — removes files that you have submitted

<course> will change dependent upon the course you are taking. For example, if you were taking CMSC201, then <course> would most likely be cs201.

 

submit

The submit <course> <project> <file(s)> command is used to submit files. You can specify one file at a time, or multiple files at a time.

 

linux3[2]% submit cs201 hw3 hw3.py

Submitting hw3.py…OK

linux3[3]%

You can submit multiple files using submit <course> <project> <file(s)>

 

linux3[2]% submit cs201 hw4 hw4.py readme.txt

Submitting hw4.py…OK

Submitting readme.txt…OK

linux3[3]%

You can also use the submit <course> <project> <file(s)> to overwrite previously submitted files. It doesn’t hurt to submit what you have periodically. That way, if for some reason you are unable to submit nearer the deadline (i.e. internet access or computer dies), you will at least have something submitted.

 

linux3[4]% submit cs201 hw3 hw3.py

It seems you have already submitted a file named hw3.py.

Do you wish to overwrite? (y/n):

y

Submitting hw3.py…OK

linux3[5]%

 

submitls

You can check and see what files you have submitted using the submitls <course> <project> command.

 

linux3[6]% submitls cs201 hw3.py

total 8

drwx——    2 cshc   rpc          2048 Sep 13 16:04 .

drwx——   78 cshc   rpc          4096 Sep 13 15:55 ..

-rw——-    1 cshc   rpc          1.8K Sep 13 16:04 hw3.py

linux3[7]%

 

submitrm

If you accidentally submit a wrong file or you no longer need a file that is submitted, you can remove files using the submitrm <course> <project> <file(s)> command. Take note that when you do a submitrm, the file that you submitted is most likely gone for good and unable to be recovered.

 

linux3[8]% submitls cs201 hw3

total 8

drwx——    2 cshc   rpc          2048 Sep 13 16:04 .

drwx——   78 cshc   rpc          4096 Sep 13 15:55 ..

-rw——-    1 cshc   rpc          1.8K Sep 13 16:04 hw3.py

linux3[9]% submitrm cs201 hw3 hw3.py

Deleting hw3.py

linux3[10]% submitls cs201 hw3

total 8

drwx——    2 cshc   rpc          2048 Sep 13 16:04 .

drwx——   78 cshc   rpc          4096 Sep 13 15:55 ..

linux3[11]%