MAIL AND NETWORK BASICS
CS 3000 -- Lab Assignment #2
Mail and Networking Commands -- Read this material. Do the exercises here
that you don't understand completely.
-
Login to one of the Sun Ultra's. See who else is logged on by using these
commands:
commands. Notice the differences among the displays. Do
finger @pollux
to see who is logged in on pollux. Do
finger @shalim
to see if anyone is logged in on shalim.
Do some commands of the form
finger user
where, for user, you substitute 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, arcturus, barnard, capella, castor, centauri, ceti, deneb, omicron,
polaris, pollux, regulus, rigel, saiph, sirius, sol, soleil, spica, 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?
-
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
-
Read your mail using the mail command from a terminal window.
-
Reply to the mail that other people sent to you.
-
Delete unwanted mail.
-
Read the manual page for the netstat command by executing:
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 more understandable?
-
Read the man page for the arp command.
Execute this command
arp -a | less
What does the output mean?
-
Read the man page for the ifconfig command.
Enter this command:
ifconfig -a
Try to figure out what the output means.
Ask your instructor to run the command as super-user sometime - so you can see
the address of the ethernet interface.
-
Do
man route
Ask your instructor to show you the scripts used on alcyone to connect it to a
subnet via ppp.