CS 60, Fall 2009
Assignment 0

Due: Friday, October 2, 9:00 pm
Worth: 50 homework points

  1. If you do not already have a College of Engineering user account, then sign up here now. Hopefully you are signing up well before the deadline, as your account will not be ready to use immediately. When it is ready, verify you can access it, and change your password as instructed!
  2. Visit the CSIL lab (Harold Frank Hall 1138), and log on to one of the machines there. Explore the desktop, and find a tool to get direct command line access. Try some Linux commands.
  3. Then connect to CSIL remotely. Download and install PuTTY, or SecureCRT (see the Resources page for links) or another secure shell program on your own computer (or use a computer at IC). Then verify that you can log in to your CSIL account through the secure shell - use host csil.cs.ucsb.edu and protocol ssh2.
  4. Create a directory structure for your CS 60 files, including a subdirectory to hold your assignments, and use chmod to insure that only you have read, write, and execute permissions in this subdirectory.
    For example:
      mkdir ~/cs60
      cd ~/cs60
      mkdir homework
      chmod 700 homework
    Any subdirectories you later create inside ~/cs60/homework/ also will be private.
  5. Use cp to save a copy of ~cs60/hw0/student.c-skeleton in your assignment 0 directory as student.c, edit it as follows, compile it and execute it:
  6. Turn in student.c and student.info from your assignment 0 directory with this command:
    turnin hw0@cs60 student.c student.info
    Late projects will not be accepted, nor will we accept your assignments by e-mail or other delivery means. One purpose of this assignment is to get you accustomed to using turnin.

Updated 9/10/09 by C. Michael Costanzo