Lab 0: WARM UP
Your Name:
- With your GTA's help
create an account on your lab UNIX machine.
- (2 points). Create a TEST directory in your home directory by mkdir TEST . Go to this directory by typing
cd TEST and then
create a file named hello in it.
You can create an empty file by touch hello . You can verify its existence by ls hello .
- (2 points ) Practice connecting to your new UNIX account using windows utility PUTTY or an ssh client (which you need to download and install on your tablet PC or laptop. It is strongly recommended that you do this at home before the lab, especially if you don't have a wireless connection on campus. Google for PUTTY. For ssh client go to VT Software site ). Create a file hello1 in the TEST directory using this remote connection. Note: by default, PUTTY puts you into your home directory. If you own a MAC machine, or already have a Linux installed
on your PC, you don't need to download PUTTY. Instead, open a unix
shell on your machine and use yourname@rlogin.cs.vt.edu (or whichever machine you have an account on. Ask you GTA ) to establish a secure shell connection to your lab account. If you don't have a connection, you will complete this exercise at home.
- (2 points ) Transfer the file hello from your lab's
UNIX account onto your tablet PC/laptop. Then transfer any picture
file from your PC onto your UNIX account. Test that it exists on your UNIX
machine. To see how crippled Window's ``native" capabilities for communicating
with a UNIX machine are, try to
open this picture ``remotely" on your lab machine
using any standard graphics program on UNIX, e.g. xv or gimp . Try xv picturefilename or gimp picturefilename . What happens? For file transfer between a PC and a unix machine you will need to download/install the utility called WinSCP on your laptop/PC. If you
work with the ssh client, you don't need a separate file transfer client like
WinSCP. If you own a MAC machine, or already have Linux installed
on your PC, then you are all set. Just use sftp yourname@nameofyourlabmachine.cs.vt.edu (or whichever machine you have ) to establish a secure shell file transfer
connection to your lab account. Use put filename and get filename commands to transfer files from your machine onto the lab machine
and vice versa. If you don't have a connection in the lab,
you will complete this exercise at home.