INLS 181 Lab: September 15, 2003




Fundamentals of Unix Networking Tools FTP




Fundamentals of Unix

  1. Create a series of directories in your home directory to match the following description. Feel free to change the directory names, but keep the structure. Draw a picture of the resulting file system. Make sure you can navigate to every directory.

    Make a directory in your home directory named transportation that contains three other directories, planes, trains, and cars. Add two directories to the planes directory, Boeing, and Lear. Add four directories to the cars directory: Honda, Nissan, Saturn, and Ford. Add 3 directories to Honda: Accord, Civic, and Odyssey. Add one directory to Ford: Truck.

  2. Find a UNIX command that prints your user id

    whoami

    and one that tells you who else is currently logged in to the same server.

    who

  3. Find a UNIX command that prints the history of commands you have used during this login session.

    history

  4. Find out how many options the ls command has.

    There are 26 options for displaying the contents of a directory or the name of a file.


Networking Tools

  1. What internet address does "whirlwind.cs.virginia.edu" map to?

    128.143.137.26

  2. What internet address does "martinique.globat.com" map to?

    203.22.204.92

  3. What do your answers to the two questions above tell you about DNS?

    The two IP addresses are completely different which would indicate to me that they are located at two different servers that have no relation to each other.

  4. Choose two destinations within the UNC "zone" (i.e. names that end in unc.edu). What are their Internet Addresses? Are the addresses different? How? What do the addresses tell you, if anything, about how internet addresses are given out?

    Name: www.chem.unc.edu
    Address: 152.2.0.21

    Name: oxford.lib.unc.edu
    Address: 152.2.181.238
    Aliases: www.lib.unc.edu

    The first two parts of the addresses are the same. It is the last two that differ. From this, I would surmise that all UNC addresses begin with 152.2.

  5. Work on the following table.

    Domain Name Time of day (hh:mm) Packet loss (%) RT Latency (ms) Number of hops
    www.lib.ncsu.edu 20:50 0 1 ms 7
    www.breitenbush.com 20:50 0 23 ms 13
    www.estado.estadao.com.br 20:50 0 132 ms 13


Return to top.


FTP


Return to top.
Return to my 181 Portfolio.
E-mail questions to Meghan Lafferty at melaffer@email.unc.edu
Last updated September 17, 2003.