This tutorial explains how to submit materials (labs/homeworks) in the UNIX lab.
You will use simple UNIX commands to submit lab and homework assignments
electronically. You follow the same submission procedure each week. Start by
creating all the files required by the given assignment, use cd
to
go to the directory containing those files, and use cp
to copy them
into the appropriate submission directory. For example, if you saved all your
program, text and image files for lab 1 into the following directory:
~/cs108/lab01
and you wanted to submit them to the following directory:
/home/cs/108/current/yourLoginID/
then you would submit that sub-directory all at once as follows:
$ cd ~/cs108 $ cp -r lab01 /home/cs/108/current/yourLoginID/
Note that the general naming scheme for assignment directories is
labNN
, homeworkNN
, or project
where each N
is a digit (e.g., lab01
or homework11
).
You can use standard UNIX commands to confirm that your submission worked. For example, you could confirm the contents of the lab 1 submission shown above using the following command, which will list the files that you have successfully submitted to your submission directory:
$ ls -l /home/cs/108/current/yourLoginID/lab01
Submit assignments into sub-directories that use the standard directory
naming scheme:
labXX
, homeworkXX
, project
, where
XX
is the assignment number (e.g., 01
,
02
, … 14
). Review the unix tutorial for examples on how this
could work.
Students on Calvin’s campus can submit directly from their laptops by configuring their machines according to these instructions.