CS 141 Homework Assignment #6
In class graded exercise
overview: we are going to download and install, configure
and run a better telnet program (which is free).
I recommend you use this program,
not windows telnet for the future.
windows telnet often has trouble in vi,
esp on the last line.
google.com search for: putty
you should find a url like this:
www.chiark.greenend.org.uk/~sgtatham/putty/
download
windows xp
putty.exe
save on the C: drive in room A-215
(only needs 444 kb)
dbl click putty.exe
uncheck so we don't get a warning each time we run it.
first screen
select ssh (encrypted) or telnet
hostname: unix01.sac.edu
saved session: unix01
click save
click on keyboard
set backspace to ^H
set Fn keys to SCO
click session
click save
dbl click on unix01
you get a security alert
select yes to save the key
so it can be checked each time you log into that site.
putty has rounded upper corners whereas telnet has square corners.
Anything you high light in putty goes to the windows buffer.
right click to paste the windows buffer into putty.
In putty,
try typing in a cmd
then high light it with the mouse (to save in buffer)
then right click to run the same cmd again.
You can also copy from windows
and paste into putty command line or vi.
Highlight the following text
and copy it into the windows buffer.
(right click, copy)
For each directory, the contents are listed. For each file, the
filename is repeated and any other requested information is
displayed. By default, the output is sorted alphabetically. When
no argument is given, the current directory is listed. When
several arguments are given, they are sorted appropriately; file
arguments are processed before directories and their contents.
in putty, type
cd
vi proj6
i (to go into insert mode)
(right click to insert the paragraph into this doc)
ESC
:wq
to get credit
type these commands:
cat proj6
id
and raise your hand
so your work can be graded by the instructor.