How to submit work to be graded
Login to a Linux machine using your Linux account. Then
copy all files you want to submit into a directory named
Work.
You need to create the directory "Work" in the same directory where
the files to submit are located using the following the command:
mkdir Work
Note, Work can be any name you chose, such as Assign1, Project1,
or any other name. I am asking you to use your login Id capitalizing
its first letter. For example, if your login Id is john then
the Work directory should be John. Once you have created the directory
Work as shown above then you need to copy all files that you want
to submit in the directory Work. Assuming that your login is john and
that you want to submit the files readme.txt, myFirstC.c, text1.txt,
text2.txt you need to do:
mkdir John
cp readme.txt John/readme.txt
cp myFirstC.c John/myFirstC.c
cp text1.txt John/text1.txt
cp text2.txt John/text2.txt
Put all information in the directory Work on one single file
"work.tar" by typing the following command:
tar -cf work.tar Work
I named this file "work.tar" for easy identification.
But I am asking you to use as the name "work.tar" your unique
login Id for the Linux machine. For example, if your login Id is john
then the work.tar would be john.tar and would be created by the command:
tar -cf john.tar John
Copy the file work.tar in the class directory /group/class/c113/Assigns,
if you are submitting for grading an assignment, or in the directory
/group/class/c113/Projects, if you are submitting for grading a project.
Using the example when your login Id is john, you do this by typing:
cp john.tar /group/class/c113/Assigns/john.tar
when you submit an assignment, and by typing
cp john.tar /group/class/c113/Projects/john.tar
when you submit a project.
Note, I simplified the target of the work.tar file to be always
either Assigns, when you are submitting an assignment, or Projects,
when you are submitting a project.