...
- Go to the folder on your machine that contains all (and only) the files you are submitting for your homework.
cd <your local homework directory>
- Zip the files you want to submit. Here ’n’ refers to the homework number.
zip -r hw_n.zip * - Use sftp to copy the zip file to Clear.
sftp <your-netid>@ssh.clear.rice.edu
<your-password>
- You should have the sftp prompt sftp> now. Go to to your comp311/netID directory.
cd comp311/netID/
- Create a new folder with the name hw_n for this homework number n
mkdir hw_n
- Now move your zip file to this directory:
cd hw_n
put hw_n.zip
The sftp app should indicate that your zip file has been copied to the folder hw_n. - Log in to your Clear account.
ssh <your-netid>@ssh.clear.rice.edu
<your-password>
- Go the folder hw_n
cd hw_n
- Unzip the file
unzip hw_n.zip
- Delete the zip file
rm hw_n.zip - Follow the instructions for Submitting Your Homework from the Clear Network
...