IN-CLASS EXERCISES FOR THE FINAL SESSION (October 14, 1999)

"Sir Unix Holmes Does A Round-Robin"

Use the space in the table cells to jot down what you see. After you have made the rounds, synthesize the evidence you have gathered, and we'll discuss what it all might mean.

We have four machines:

Cart Solaris 7 connected to the shell server, which servers Solaris 7
Compaq Windows 98 laptop connected to the shell server, which servers Solaris; this laptop also runs MKS Toolkit, a virtual Unix environment
Flag Windows NT laptop running MKS Toolkit, a virtual Unix environment
Penguin RedHat Linux 6.0 (2.2 kernel) laptop running Linux (dual boot with Windows NT)

  

  1. Navigate to the directory called final-class
  2. Cart On the shell server, /home/users/ucbext1/talbert
    Compaq On the Windows 98 laptop, C:/Unix/final-class
    Flag On the Windows NT laptop, the a: drive floppy
    Penguin On the Linux laptop, /home/thomas/final-class
  3. Type more in-class.doc, what do you see?
  4. Cart  
    Compaq  
    Flag  
    Penguin  
  5. Type strings in-class.doc, what do you see?
  6. Cart  
    Compaq  
    Flag  
    Penguin  
  7. Type man strings, what do you see? By the way, type q to quit a man page and return to the prompt.
  8. Cart  
    Compaq  
    Flag  
    Penguin  
  9. If you got a different result with strings in-class.doc than with more in-class.doc, why is this so?
  10. _____________________________________________________________________

     

  11. Type ls, what do you see?
  12. Cart  
    Compaq  
    Flag  
    Penguin  

     

  13. Type ls --color, what do you see?
  14. Cart  
    Compaq  
    Flag  
    Penguin  
  15. Type ls -aF --color, what do you see?
  16. Cart  
    Compaq  
    Flag  
    Penguin  
  17. Type cmp oldstuff newstuff, what do you see?
  18. Cart  
    Compaq  
    Flag  
    Penguin  
  19. Type diff oldstuff newstuff, what do you see?
  20. Cart  
    Compaq  
    Flag  
    Penguin  
  21. Type diff -c oldstuff newstuff, what do you see?
  22. Cart  
    Compaq  
    Flag  
    Penguin  
  23. Type more 3pages, what do you see?
  24. Cart  
    Compaq  
    Flag  
    Penguin  
  25. Type less 3pages, what do you see?
  26. Cart  
    Compaq  
    Flag  
    Penguin  
  27. While still in less 3pages, type b, what do you see? Type b again, what do you see?
  28. Cart  
    Compaq  
    Flag  
    Penguin  
  29. Wow, we've done a bunch of steps we've done already. Type history, what do you see?
  30. Cart  
    Compaq  
    Flag  
    Penguin  
  31. Type bang (!), then a number from the history list, what do you see?
  32. Cart  
    Compaq  
    Flag  
    Penguin  
  33. Type r, then a number from the history list, what do you see?
  34. Cart  
    Compaq  
    Flag  
    Penguin  
  35. Type cat /etc/shells, what do you see?
  36. Cart  
    Compaq  
    Flag  
    Penguin  
  37. What have you learned about each machine?

 

Cart  
Compaq  
Flag  
Penguin  

 

copyleft copyleft.gif (70 bytes) 1999 Thomas Albert