- Start in the directory that contains all the files for your assignment
- At the system prompt ( shown here as osf1.gmu.edu>), type the following:
osf1.gmu.edu> mkdir temp
(you can use any name in place of temp)
- Copy ( cp ) all the source files, header files and makefile needed to
compile your program to temp.
- Make a tar file of the temp directory:
osf1.gmu.edu>tar cf yourname.tar temp
(if you used another name in place of
temp, use it here, too)
Important: yourname.tar is your mailbox name concatenated with .tar, e.g.
ewhite1.tar.
To double check to see if all the files are present in the tar file,
at the system prompt type:
osf1.gmu.edu>tar tvf yourname.tar
When you reach this point you have successfully created the tar file.
- Also you can compress the tar file to a 'gz' file. To do so at the system prompt you will have to do the following:
osf1.gmu.edu>gzip yourname.tar
This deletes yourname.tar and replaces it with yourname.tar.gz
- Now you can email your assignments to TA