Handouts ------------------------------- Unix ref card Emacs ref card C ref card Things to do --------------------------- Pass around sign-in sheet Have those w/o account access sit with those that have it Getting started: - putty into ugrad machine - tell them about "nixtutor" - links to tutorials and ref cards on course website - explain file tree hierarchy, paths Do sample unix commands: - ls -al - mkdir cs120 - review . and .. - sample shell shortcuts (arrow keys, !) File transfer:- - Download gpa.c from web (www.cs.jhu.edu/~joanne/cs120/code) to machine - scp gpa.c over to your unix account - mv gpa.c cs120 Editting: (mostly emacs) - show them/tell them about vim and pico (just existence) - emacs gpa.c - basic motion - cut & paste blocks - save - opening another file buffer - getting help (have them try to fix the gpa.c program) Compiling: - gcc -ansi -std=c99 -pedantic -Wall -Wextra -O file.c - running - ^c and ^d - input/output redirection We'll do more advanced unix stuff next week!