MAIL AND NETWORK BASICS

CS 3000 -- Lab Assignment #2 (For Unix Beginners)

Mail and Networking Commands -- Read this material. Do the exercises here that you don't understand completely. Work with a partner.

  1. Login to one of the Sun Ultra's. See who else is logged on by using the finger, w, and who commands. Notice the differences among the displays. Do finger @yokuts to see who is logged in on yokuts. Do finger @eos to see if anyone is logged in there. Do some commands of the form finger user, where user is the first name, last name, or user name of someone who has an account on the computer you are logged into. (You may choose one of your classmates.) The names of the Sun Ultra's in the lab are: altair, capella, castor, pollux, saiph, soleil, spica, regulus, rigel, vega, and zaurak. Do some commands of the form finger @hostname, where you make "hostname" one of the names of the Sun Ultra's. Are the results what you expect? Do they agree with the signs on the computers and the identities of the people you see sitting in front of the computers?

  2. Send mail to yourself. Send mail to at least one classmate. Send one mail message to two people, possibly yourself and another classmate. Use the -v option when sending this mail

    Example: mail -v jsmith@vega

  3. Read your mail using the mail command from a terminal window.

  4. Reply to the mail that other people sent to you.

  5. Delete unwanted mail.

  6. Do man netstat and look at the -n and -r options. Do the command netstat -nr. Try to figure out what the output means. Try the command netstat -r. Does that make the output understandable?

  7. Do man arp and look at the -a option. Do arp -a. What does the output mean?

  8. Do man ifconfig. Look at the first page of information. Do ifconfig -a, and try to figure out what the output means.

  9. Do man route.