For this exercise, you will need to log in to a Unix-based server. Use the Unix Survival Guide (module Q02cu ) to help you practice using the file listing and directory commands. Use the Telnet instructional module ( NA40c ) for background and help with Telnet.
You will be asked to do a number of things on the Unix server, many of which will require you to look up commands in the Unix Survival Guide . You'll need to take notes on what happens when you try the commands, because you'll be submitting a summary of what you did to your instructor. This summary will include things like commands you tried that did or did not work, difficulties or problems you ran into, and each of the directories you entered.
Your instructor will provide you with a temporary account on a Unix/Linux machine so you can practice the telnet process.
( WCC instructors: you can request a block of addresses by sending email to Francisco Roque, frisco@wccnet.org.)If you have a Unix/Linux account already, you may use that.
If you prefer to use a third-party telnet client, you may do so. However, all you need for this assignment is a standard Windows/DOS or Mac telnet client. In Windows, open it by using the Start menu's Run command, and simply type in
telnet
You should see a Telnet window open. Use the menu Connect > Remote System to set up a new connection.
- Type in the name of the server, for example: caramel.wccnet.org
- Leave the default settings as they were.
- Click the Connect button.
![]()
You should see the login prompt for the server; enter the login ID and password issued to you.
Change cd / to the root directory. List files in the root directory. You need not copy or capture the listings - use them for your information, and make note of the commands you used. To find the commands, use the Unix Survival Guide, Q02cu . List the files in these ways:
- regular (compressed) listing
- long-form listing
- regular listing showing all files (inlcuding "hidden" ones)
- all files beginning with the letter s (if any)
- all files whose name contains a dot (period)
Notice which of the files listed are actually directories. (See " Interpreting a Full Listing " in the Survival Guide.) Change cd to one of these directories (make a note of which it was) and do a long-form listing of all the files in it. Explore the directory structure: if there are any sub-directories, change to one of them, and repeat the process until you reach a directory with no more subdirectories. Make a note of each directory you enter. If you forget, you can use the pwd command to find out which directory you are in.
Change back to the root directory and see if you can find another subdirectory to explore. Again, make notes of the directory names and explore until you reach the end of a "branch" on the directory tree.
![]()
Audience:
This is for people who know how to use a Windows or Macintosh computer and need to learn to use Telnet (see also module
NA40c
"Telnet").
Objectives:
When you successfully complete this lesson, you will be able to...
About this document...
Module NA41h:
This document is part of a modular instruction series in computer technology. For more information, see the
overview
or the list of modules in this series,
NA: Netwqork Applications
. This versiont has been used in the following classes:
INP 160
.