Assignments

Do the exercises from the textbook chapter 2. Mail the answers to me re the above guide.

Please do, in class, the following exercises preferably on your own Linux. Copy the commands and the results into a text document, comment your findings, and send the text document to the teacher, re the procedure outlined above.

  1. $ echo hello world↵
  2. $ passwd↵
  3. $ date↵
  4. $ arch↵
  5. $ uname -a↵
  6. $ dmesg | more↵
    You may need to press q to quit
  7. $ uptime↵
  8. $ who am i↵
  9. $ who↵
  10. $ id↵
  11. $ last↵
  12. $ finger↵
  13. $ w↵
  14. $ top↵
    You may need to press q to quit
  15. $ echo $SHELL↵
  16. $ echo {con,pre}{sent,fer}{s,ed}↵
  17. $ man "automatic door"↵
  18. $ man ls↵
    You may need to press q to quit
  19. $ man who↵
    You may need to press q to quit
  20. $ who can tell me why I got divorced↵
  21. $ lost↵
  22. $ clear↵
  23. $ cal 2011↵
  24. $ cal 10 2011↵
  25. $ cal 9 1752↵
    Anything unusual?
  26. $ bc -l↵
  27. $ echo 5+4 | bc -l↵
    quit↵ or ctrl-d to quit
  28. $ yes please↵
    You may need to press ctrl-c to quit
  29. $ time sleep 5↵
  30. $ sleep 5↵
  31. $ history↵

Source: [Wjk01]