Do not send me pine attachments. Do not send me scripts with edit sessions i
n them. I will just send them back to you.
Jan 14 - use pine or mail, whichever you have used the least, to send me an email message describing your favorite UNIX web site.
Jan 21 - 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 28 - Find a cool UNIX command not covered in class and tell me about it in an email message.
Feb 4 - 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.
do not send me pine attachments. Do not send me scripts with edit sessions in them. I will just send them back to you.
Feb 11 - Email me 3 examples of strings that would match the following regular expressions:
a*b*c
^I want
ate$
h[aeiou]t
.erry
\$500
(duh)+
^T.. [a-z]nd$
Mar[iy][Aa]nne?
\$$
Feb 18 - Use script to create a log of your session and then email it to me. (^D ends script.)In the session use grep and any other commands, wildcard,
pipes, etc. you need to do the following:
Pick a 4 letter word and find the number of entries in /usr/dict/words that:
contain the word
start with the word
end with the word
Print info for names that start with the same letter as your login from the who list
Print info for everyone but you from the who list
Pick your processes out of the list generated by ps -aux (or -aef)
Mar 11 - Read the man page for awk
Answer these questions from the man page on
PAPER
and hand in:
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.
Do the awk tutorial
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. Email me the script.
Mar 18 - Read the man pages for csh. Send me email telling me
about 1 new thing about the c-shell that you learned from the man page.
Mar 25 -
Send me via email 3 useful shell scripts you wrote and tell me what they do
Hand in the answers to the following questions next week - do not send via email (-1 if you send it via email) - do on a separate piece of paper.
List the names of your environment variables and circle the ones whose purpose or value you understand.
List the names of your shell variables and circle the ones whose purpose or value you understand.
How do you set, change, unset, get the value of, print to the screen the value of, and check the existence of environment variables and shell variables?
List the 4 kinds of quotes and tell what each does.
List the built-in shell commands that start with the first letter of your last name.
List the 7 steps in writing a shell script and why each one is necessary.
What programming constructs can be used in a shell script and when would you use each?
What commands can you put in a shell script?
Name one shell script that you use every time you login.
What is the comment character for a shell script?
Apr 1 -Make a .signature file and a .plan file and customize your prompt. Then make a file using the script command
that shows your .plan file using the finger command and email the script to me
using pine (do not attach the file - use ^R) so I can see your .signature file.
Apr 8 - Make a script and use the 8 job control commands and 2 examples
of history. Email me the script.
Apr 15 - Read the man page and then try one of the UNIX internet commands
discussed in class (or any other one) that you have never used before and send me email telling me about your experience.
FYI
Everything you wanted to know about IP addresses but were afraid to ask.