Assignments for EECS/CS284 UNIX
- Jan 12 - use a mail program you have never used before and send me an email message telling me how you like it compared to your usual one.
- Jan 19 - use a web brouser and check out some web sites. Use vi to write a file that tells me the URL of your favorite site and why you like it. Also tell me how you like vi. Send me the file via email. (you may not compose it in your favorite mailer - write it in vi!)
- Jan 26 - Find a cool UNIX command not covered in class and tell me about it in an email message.
- Feb 2 - Email me 10 useful examples of UNIX commands that use wildcards, I/
O redirection, and/or pipes that you have tried and tell me why you think they
are useful.
- Feb 9 -Use script to create a log of your session. (^D ends script.) Email me the script. In the session do:
- Pick a 3 letter word and find the number of entries in /usr/dict/words that
- contain the word
- start with the word
- end with the word
- See if you have any email from me using the from command
- Print only your name from the who list
- Pick your processes out of the list generated by ps -aux (or -aef)
- Make up 3 new commands of your own that use grep
- Feb 16 - Write 3 awk programs not shown in class. Run them in a script then edit the script and tell me in English what each program did.
Answer these questions from the man page:
- What patterns are allowed in awk?
- List awk's built-in variables and tell what they are.
- List the 3 statement terminators in awk.
- List 3 built-in mathematical functions.
- List 7 other built-in functions.
- How do you force an expression to be treated as a number?
- How do you force an expression to be treated as a string?
- List 20 of the legal awk operators.
- List the 13 kinds of statements allowed in awk.
- Feb 23 -