Week 2 Notes for DAT2330 - Ian Allen Supplement to Text, outlining the material done in class and lab. Remember - knowing how to find out the answer is more important than memorizing the answer. Learn to fish! RTFM![*] ([*] Read The Fine Manual) ----------------- TELNET to ACADAIX ----------------- - from the College, you can telnet to "acadaix" - terminal type: vt100 - lines: 24 - see the web page on Using Telnet - from the Internet, telnet to acadaix.algonquincollege.com ------------------------------ EOF and Interrupting Processes ------------------------------ To interrupt a process that is running on your terminal, use the Interrupt Character, often CTRL-C (^C). (You can program a different character; often DEL is used.) Your EOF character, signalling end of input, is usually CTRL-D (^D). (You can program a different character; almost never done.) ------------------------------------- Commands for a multi-user Unix system ------------------------------------- These commands are useful for looking at or interacting with other people on the same machine: - who - w - finger - write - talk Both talk and finger take user@machine names, allowing interaction with people on other machines (if they permit it). To prevent users from writing on your screen, use: mesg n To exit from write, type your EOF character at the beginning of a line. To exit from talk, type your Interrupt Character. ------------- Nested Shells ------------- Your default shell is the Korn shell (ksh). You can call up other shells: csh, bash, sh Each new shell is another Unix process. To get a list of your processes, use: ps To exit from a shell: exit Another way to exit a shell is to use the EOF character.