$ cd $ mkdir cs31
$ update31 Creating /home/tnas/cs31/labs Creating /home/tnas/cs31/labs/01 Adding /home/tnas/cs31/labs/01/Makefile Adding /home/tnas/cs31/labs/01/lab1.c
You should work from within this subdirectory on all your lab 01 (or the appropriate lab number) assignments:
$ cd $ cd cs31/labs/01 $ pwd /home/your_user_name/cs31/labs/01 $ vim lab1.c
If I ran update31 before starting lab 1, I'd see the following:
$ update31 Creating /home/tnas/cs31/labs/01Then when I worked on my lab 1 assignments, I'd make sure I was working from within my cs31/labs/01 subdirecory:
$ cd $ cd cs31/labs/01 $ pwd /home/tnas/cs31/labs/01 $ vim lab1.cIf I ever discover I'm working in the wrong directory, I can move the file from the wrong directory into the correct one using the mv command:
$ mv lab1.c ~tnas/cs31/labs/01/.
handin31 needs to be set up by to submit each assignment, so if you do not see something like the example run below, it may not be set up correctly. Please email me to let me know that there are problems with handin31. I should have it set up at least 3 or 4 days before a given lab assignment is due.
An example run of handin31:
**************************************************************************** ********* HW01: (cs31/labs/01) -- due by 11:59 pm, Friday Sept 14 ********* **************************************************************************** Hi Tia: This program allows you to turn in your labs and assignments. Enter 'h' to hand in labs and assignments Enter 'v' to view the files you have turned in Enter 'q' to quit handin> h You are turning in HW 01 in cs31/labs/01. The following files will be turned in: Makefile lab1.c Enter 'h' to hand in labs and assignments Enter 'v' to view the files you have turned in Enter 'q' to quit handin> v Tia, you have turned in the following files: labs 01: 09/05/2012 14:04 -> Makefile 09/05/2012 14:04 -> lab1.c Enter 'h' to hand in labs and assignments Enter 'v' to view the files you have turned in Enter 'q' to quit handin> qYou can run handin31 multiple times before the due date of the assignment. handin31 access will be cut off after the due date, so make sure to submit your lab assignments prior to the due date even if they are not complete.