Week 5 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) ------------------------ Review and repetition... ------------------------ Know the type of output generated by these commands: $ echo '$PATH' $ echo "$PATH" $ echo '*' $ echo "*" $ echo * ---------------------------------------- The PATH and other environment variables ---------------------------------------- HOME and PATH are described well in Chapter 10 in the text on p.328-329 What happens here: $ PATH='' $ ls Adding to the existing PATH: $ PATH="$PATH:$HOME/bin" ------------------------------ Introduction to VI (Chapter 8) ------------------------------ See the "Chapter 8" notes file. --------------------- Floppix Practice Test --------------------- Before the practice test, download Floppix and create your two floppy disks from the local copy \\woodroffe-6\courseware\alleni, not from the Web. The local copy is much faster! You can't boot Floppix from an MSDOS window under Windows95. You must shut down Windows and restart in MSDOS mode. You can't boot Floppix directly off the Floppix diskettes. You must be running MSDOS first. If, during the Floppix boot process, you see anything that looks like "not enough memory" or "failed" or "cannot fork" or "error", your Floppix did not boot correctly. Try booting from a different set of Floppix diskettes. If the problem persists, try different hardware (change to another computer). You can see previous screens in Floppix by holding down the SHIFT key and using the PageUp and PageDown keys. Getting out of Unix programs: Try various things such as: ^D ^C quit exit logout bye ESC . One of the above usually works. Remember - Floppix runs the BASH shell. Don't waste time retyping your commands when you can use the arrow keys to scroll back up and edit them or re-execute them. To reboot the machine under Floppix, use the standard CTRL-ALT-DEL key sequence. -------------------------------------- Introduction to Networking (Chapter 7) -------------------------------------- $ traceroute freenet.carleton.ca [...more to come...]