Windows users, install Git. We won't be using Git this semester, but the Windows Git installer includes a complete Bash environment identical to that provided by default under OS X and Linux. This way, everyone will have the same Bash prompt. These instructions use that interface.
Create and test your project on your computer in a directory called
N is the project number.
When complete, navigate your Bash prompt to the directory that contains
progN and copy it to
classes with the following command.
scp -r progN firstname.lastname@example.org:progN
xxx is your account number.
Log on to
After entering your login and password, you are given a Bash prompt running remotely on
classes. It looks and behaves identical to the Bash prompt running on your computer, but remember: it's running on a machine in the computer science department.
Your code was copied here by the
scp command in step 2. You may examine it and even modify if you wish. To submit your finished code, use the command:
~cs4356_koo is your instructor's grading account name.
You can use
p_copy again later if you need to make corrections. It will overwrite the original homework submission including the time stamp. Note that this could cause your work to be considered late if you resubmit after the assignment’s deadline.
Use the command
to view the list of files you have submitted and their timestamps. This verifies that your homework was properly submitted for grading.
exit to close the Bash prompt.