Submit Usage We will be using DoIT project submission system for submission of projects[3..6] for this course. The submit system exposes the following set of commands available on GL, that allows you to submit files electronically for grading. The submit commands available on GL are: * submit — submit assignments * submitls — lists files that you have submitted * submitrm — removes files that you have submitted For this class the value of course will always be “cs461”, so all commands will start with “submit cs461”. submit The submit command is used to submit files. You can specify 1 file at a time, or multiple files at a time. linux3[2]% submit cs461 proj0 foo.txt Submitting foo.txt...OK linux3[3]% submit cs461 proj0 bar.txt baz.txt Submitting bar.txt...OK Submitting baz.txt...OK linux3[4]% linux3[4]% submit cs461 test foo.txt It seems you have already submitted a file named foo.txt. Do you wish to overwrite? (y/n): y Submitting foo.txt...OK linux3[5]% submitls You can check and see what files you have submitted using the submitls command. linux3[5]% submitls cs461 proj0 total 8 drwx------ 2 dg9 rpc 2048 Oct 8 16:04 . drwx------ 78 dg9 rpc 4096 Oct 8 15:55 .. -rw------- 1 dg9 rpc 0 Oct 8 16:04 bar.txt -rw------- 1 dg9 rpc 0 Oct 8 16:04 baz.txt -rw------- 1 dg9 rpc 0 Oct 8 16:04 foo.txt linux3[6]% 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 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[5]% submitls cs461 proj0 total 8 drwx------ 2 dg9 rpc 2048 Oct 8 16:04 . drwx------ 78 dg9 rpc 4096 Oct 8 15:55 .. -rw------- 1 dg9 rpc 0 Oct 8 16:04 bar.txt -rw------- 1 dg9 rpc 0 Oct 8 16:04 baz.txt -rw------- 1 dg9 rpc 0 Oct 8 16:04 foo.txt linux3[6]% submitrm cs461 proj0 baz.txt Deleting baz.txt linux3[7]% submitls cs461 proj0 total 8 drwx------ 2 dg9 rpc 2048 Oct 8 16:04 . drwx------ 78 dg9 rpc 4096 Oct 8 15:55 .. -rw------- 1 dg9 rpc 0 Oct 8 16:04 bar.txt -rw------- 1 dg9 rpc 0 Oct 8 16:04 foo.txt linux3[8]% Test Submission To verify that everything is setup okay issue the following commands. Be sure to verify that you see the “Submitting testfile…OK” line. Also make sure that it actually shows up when using the submitls command. linux3[1]% touch testfile linux3[2]% submit cs461 proj0 testfile Submitting testfile...OK linux3[3]% submitls cs461 proj0 total 6 drwx------ 2 dg9 rpc 2048 Oct 8 16:18 . drwx------ 78 dg9 rpc 4096 Oct 8 15:55 .. -rw------- 1 dg9 rpc 0 Oct 8 16:18 testfile linux3[4]%