To run any of the ic221 scripts you must be logged into a Michelson Hall, CS lab computer that is running Linux. It will *NOT* work on your VM on your laptop. Fortunately, access to a lab machine is rather easy from your laptop's VM using ssh, the secure remote shell.
To ssh into a lab computer, note a computer number when you visit lab and issue the following command in your terminal:
ssh -Y username@michROMcsd##u.academy.usna.edu
usernameis replaced with your username (e.g., m189999)
ROMis replaced by the Michelson lab room number (e.g., mich302)
##is replaced by the machine number you want to connect to (e.g., 02)
So, for example, for user m189999 to connect to lab computer number 02 in mich302, they will use the following ssh command:
ssh -Y email@example.com
In that terminal, now connected to the remote machine, you can perform all your work and you can also run emacs/vi and it should pop up as a new window in your VM.
To retrieve new course code, run the update script while connected to a lab computer:
This will put new files in your home directory under the ic221 folder. You will complete all your work in this directory, and only files in this directory on a lab computer can be submitted for credit.
The submit script will prompt you for what assignment you want to submit, so selct the right one. Then it will confirm submission.
You can submit multiple times before a deadline. It will not overwrite previous submissions, but only your last submission will be graded.
You can check if your submission succeeded and which files you submitted using the following script:
The program will list all your submissions and times submitted