To turn in your homework:
First, make sure your homework files are on attu or a Linux machine in the lab.
Create a folder named your_CSE_username-homeworkX
(for example, for homework 0, mine would be
wilford-homework0
) and copy your files into this folder.
If you worked in a group and are turning in a single solution,
include all the usernames of the people you worked
with, so if I worked with bob
and eve
,
I would name the folder wilford-bob-eve-homework0
.
Remove all files from the homework folder you do not want to turn in,
such as executable files, core dumps, Emacs backup files
(files whose names are the same as other files except for a tilde, for example
FILE~
), and so on.
Next, cd to the parent folder of your project folder,
and run the following command:
tar czvf YOUR_HOMEWORK_FOLDER.tar.gz YOUR_HOMEWORK_FOLDER/
This creates a Tar file (aka tarball), similar to a ZIP file, which contains your homework folder. Its name will be YOUR_HOMEWORK_FOLDER.tar.gz .
When you're ready to turn in the Tar file, go to the online Catalyst drop box and locate your homework assignment. Turn in your Tar file there.
NOTES:
tar tzf YOUR_HOMEWORK_FOLDER.tar.gz
to list the file's contents,
or tar xzf YOUR_HOMEWORK_FOLDER.tar.gz
to extract its contents.
Mac OS X can also open Tar files; to open them in Windows, use the
PeaZip
or WinZip utilities.
sftp YOUR_CSE_USERNAME@attu.cs.washington.edu
.
You can do the same thing on Mac OS X from a terminal window,
or you can use a graphical program, like Cyberduck,
Fetch,
or Fugu.
On Windows, you can use WinSCP or
SSH Tectia.