This page explains how to submit files for homeworks and projects. We'll be submitting Homework 0.1 as an example, but you can follow the same process to submit other assignments.
It is perfectly fine if this part is confusing for you right now. It will take some time for you to become comfortable with these commands. If you are not sure what a command does, you can always refer back to this page.
Note: For all screenshots below, disregard the
.scm file extensions and pretend they are
This guide assumes that the file you are trying to submit is available on the lab computers, and that you're logged into a lab computer (whether in person or over SSH).
If you are not logged into a lab computer, you should either go to lab or connect to the lab computers via SSH. The instructions for doing the latter can be found here.
ls in the terminal shows you a list of files and directories (or folders) that you currently have access to.
Use this command to confirm that your file exists. For example, I can confirm that I have access to my
We are going to have a lot of files for different assignments, so it's a good idea to
keep them organized by putting each assignment into its own directory (folder).
mkdir stands for "make directory", and is used for, well, making directories.
We can make a new directory called
homework0-1 by typing:
ls again to check that you've created
a new directory successfully.
So you have your file (
hw0-1.rkt) and you want to move it to its respective
homework0-1) to keep everything tidy and sane. You can use the
command for this;
mv stands for "move".
mv hw0-1.rkt homework0-1
mv hw0-1.rkt homework0-1 will move the
hw0-1.rkt file into the
homework0-1 directory. You can type
ls again to confirm that your
hw0-1.rkt file is no longer there.
hw0-1.rkt file should be inside
homework0-1. Let's check if that is
true by going inside the
homework0-1 directory. We can do this with the
cd stands for "change directory".
cd homework0-1 to go into your
homework0-1 directory. Now that you
are inside, type
ls again to confirm that the file you moved is there.
You are one step away from finishing! Since the name of the assignment is
hw0-1, you can submit it by typing
For each file in your current directory, you will now be asked if you want to submit it.
yes for each file you want to submit and type
yes again to confirm the final submission. If your
submission is successful, it will show the message "Submission complete."
Note the following:
submit hw0-1refers to the assignment name, not your file name. Supposed I saved my Homework 0.1 file as
fox.rkt. To submit
fox.rkt, I would still type
submit hw0-1, not
glookup -t command to view all submissions you've made and when you submitted them.
You can use this to verify that you've successfully submitted an assignment.
Note that the "lateness" will show the wrong result if you haven't submitted your
(We did this on the first day in class. If you missed it, please talk to a TA.)
If you submitted it very recently, your results may take some time to appear correctly.
If you believe that there is a mistake, please notify a TA as soon as possible.
glookup command to view your grades.
You can also type
glookup -s quiz1 to check the
statistics for Quiz 1. You can replace
quiz1 with any assignment name.