----------------------------------------------------- Week 4 Notes for DAT2330 - Ian Allen - idallen@ncf.ca ----------------------------------------------------- Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) ------ Review ------ In Week 3 (see week03notes.txt) you finished Exercise 2. You read Linux chapter 4 using the Reading Guide prepared for you under the Notes button on the course home page. You did five more Floppix labs on www.floppix.com and read some of the "Other Useful Notes" files in preparation for your first Linux test. ------------------ This Week (Week 4) ------------------ Note: A version of bash is also available on ACADUNIX; type "bash". (The default shell on ACADUNIX is the Korn shell - "ksh".) The arrow keys work in bash; they don't work in the default Korn shell. 1. Finish reading Linux Chapter 4 using the Reading Guide: chapter04guide.txt (The Unix/Linux File System) (Did you fix the error on p.81?) Finish reading the four additional notes files from last week (Week 3). (Do you understand the pathname exercises in pathnames.txt?) 2. Complete these Floppix Labs on http://www.floppix.com/ Floppix Lab 14: redirection Floppix Lab 15: pipes and filters Floppix Lab 18: the search path Floppix Lab 20: configuring the bash shell Floppix Lab 27: superuser (review) 3. Answer the practice questions in file "practice01.txt" under Notes. 4. Review: What files are contained in my xgrabsc.tgz file on ACADUNIX? (You answered this question when reading the chapter03guide.txt.) 5. Complete Exercise #3 and submit it on time. 6. Unix Test preparation: As preparation for your upcoming Unix test in Week 5, prepare one-line descriptions in your own words of what these Unix commands do, and where they are first described (either a Linux text page number in Chapters 1-5 or a Floppix lab number). A few commands may not be found in Chapters 1-5 or the Floppix labs - you'll have to look them up in man pages. (The Floppix site has a TofC index that may prove helpful.) I've done two one-line explanations of commands as examples. You do the rest. Show your instructor your completed Unix command sheet when you are done. 1 apropos - locate manual pages by title keyword (p.50) 2 cal - 3 cat - 4 cd - 5 chmod - 6 compress - 7 cp - 8 date - 9 diff - 10 echo - 11 file - 12 finger - 13 ftp - 14 grep - 15 gunzip - 16 gzip - 17 head - 18 last - 19 less - 20 links - the name of the Floppix text-only web browser (Lab 25) 21 ln - 22 ls - 23 mail - 24 man - 25 mesg - 26 mkdir - 27 more - 28 mv - 29 passwd - 30 ps - 31 pwd - 32 rm - 33 rmdir - 34 sort - 35 su - 36 tail - 37 talk - 38 tar - 39 telnet - 40 touch - 41 uniq - 42 w - 43 wc - 44 whereis - 45 which - 46 who - 47 write - 48 zcat -