Lecture notes Friday 1/15/99
Getting started with UNIX
Logging in
move the mouse or press a key
(in case you want to reboot or change operating system: CTRL-ALT-DEL)
your login and password are identical to your lclark e-mail
to log out: "exit" (don't turn power off)
Graphical user interface (GUI)
"startx" (this takes a minute)
to get another window click on start: new shell
to exit the GUI click on the background: Exit Fvwm: Yes (or CTRL-ALT-BACKSPACE)
Helpful things
to start a web browser: "netscape &" (this takes a minute)
"xman" or man pages, e.g. "man man" (q to quit, SPC to scroll)
get help
from IT (http://www.lclark.edu/~infotech)
Remote login
"telnet sun.lclark.edu"
to read your e-mail: "pine"
to setup your webpage once and for all: "webstart"
to exit the remote machine: "exit"
Handling files
"ls"
"cp ~jmache/cs1/area* ."
"less < name>" (q to quit)
"mv < old> < new>"
"rm < name>"
Handling directories
"pwd"
"cd cwis", "cd .."
"mkdir cs1", "rmdir cs1"
Edit-compile-execute cycle
edit: "emacs area.c &" (CTRL x c to exit)
compile: "gcc area.c", "gcc area2.c -lm"
execute: "./a.out"
(to edit webpage on sun: "emacs home.html")