T/G Layout 1

(C. Jardin) #1

Is -l


Now download the file “sources.doc” which contains the most recent listing of weather
data and images available via Internet. This is done using the “get” command followed by
the name of the file at the Internet location and the name you wish to give the file when it
a rrives at your location. The file names below are the same though they need not be.


get sources.doc sources.doc


You will be sent a line confirming the transfer. Now leave the Internet:


bye


At this point, check your account to see if the file has arrived. To bring the file over the
phone line to your school or house, use the communication software that is recom-
mended, or often supplied for free, by the university. You now have a resource file that
will give you information on weather data on the Internet along with further details on
Internet usage.


There are a number of other commands that are commonly used on the Internet. A
few critical ones are listed below.


binary


Many files are stored in unusual formats. These include Word Perfect files as well as files
that are compressed for ease of storage and transfer. The standard naming convention
for compressed files is the extension “.Z.” In the example above, the file would be
“sources.doc.Z.” Before these types of files can be transferred over the Internet (i.e.,
before issuing the “get” command), you must notify the Internet that you will be send-
ing a non-standard file format. This is done by entering the “binary” command.


prompt
mget ci0717*.gif


You may wish to transfer more than one file at a time. This is accomplished by first
telling the Internet that multiple files will be sent together (the “prompt” command)
and then using the multiple get command (“mget”) followed by the list of files. In the
example above, all infrared images from July 17th are sent. Because there may be
many files with a common extension, be very careful with the “mget” command. To
check how many files would be transferred, list the files before transferring with the
command:


ls ci0717*.gif


Finally, if you have downloaded a compressed file (e.g., “sources.doc.Z”) you will need
to issue the UNIX command to uncompress the file before bringing it from the universi-
ty to your home computer. The command for this is “uncompress” and the usage is
given below. The uncompressed file will have the same name although without the
“.Z” extension.


uncompress sources.doc.Z

Free download pdf