Notes on Using the Lab for CS 3210 Students
Where do I find the lab? TB 112 (locaed on the basement floor of the TB
Logging on to the Lab Computers
Log in to the NT machines in the lab with the username "workshops"
(without the quotes). The password is also "workshops"
Logging on To Gautama
Follow these simple instructions:
- Click on the pretty "Putty" icon on the desktop. Enter
"gautama.slcc.edu" for the hostname. Please click on "SSH" for the
protocol. Then click OK. It might give you some business about "unknown
host key", just click OK.
Note: if gautama.slcc.edu doesn't resolve, use the IP address:
- At the following login prompt, you will need to enter
your username, which is arranged thusly: your first name in
lower-case, then a dash, then your last name in lower-case.
Example #1: My name is Robert Frost. My login name is:
Please note that the username is all lower case. Everyone get
it? I sure hope so.
- Right after you log in, you will be greeted with a password
prompt. Your password, for the time being, is "password". If you
care at all about the security of the network (and you
should) you will change your password after you log in for
the first time. Instructions on how to do this are found below.
- Right after you log in, you will be in your home directory. Please
make an 'unix' directory by typing mkdir unix. Then,
change into that directory by typing cd unix. All the
work for this class needs to go in this directory or subdirectories under
it so don't go saving assignments in your home directory, you won't
get credit for them.
- You are now ready to use an editor, the compiler, etc. Notes on how
to do this are forthcoming.
- When you're done doing what you need to do, type exit at the
command line to disconnect and leave.
Note: If you are logging in from home, you will need to dial up to your
ISP first, then you can telnet in as per the next step.
Additional Note: If you are logging in from anywhere else (i.e. work, the
library, some "Internet Cafe" etc.) you will need to go through whatever steps
are necessary to get a local login and gain access to the outside world. You
should be getting the idea at this point that you need to get on the Internet
to access the lab server.
Another Additional Note: The only remote access allowed on the lab servers
is secure shell, we can't use telnet. The good news is, the Putty program is
freeware and can be downloaded from here
Changing Your Password
One of the first things you should do when you log in to the server for the
first time is change your password. This is accomplished by doing the
- type passwd at the command line and hit return.
- You will be prompted for your old password. Type it and hit return.
- You will then be asked to type your new password. Enter a new password
and hit return.
- You will then be asked to confirm your new password by typing it
again. Do so, and hit return. Your password is now changed.
Choosing An Editor
There are a whole slurry of text editors that you can use on gautama.
They all basically accomplish the same thing, editing text, so it doesn't
much matter which one you choose, as long as it's one that you're comfortable
Here's a list of editors you might use:
- pico - A fairly easy-to-use and intuative editor. This is the one
that probably most of you will end up using.
- emacs - Also a nice editor, fairly easy to use. It
tends to be a bit largish, though.
- jed - A menu-driven editor. Pretty colors.
- joe - A text editor in the spirit of the old DOS-based
- vi - Real men use vi. (We're actually using Vim which is short for "vi
If there's a UNIX editor that you want to use that I haven't got
installed, let me know and I can probably install it.
You're also encouraged to write one of your own for a term
FTP Is Your Friend
How do I upload files to the server? Some of you will be doing your
homework assignments from home, from work, or from some location other than
the lab computer. This means that eventually, you will have to send files to
the server. I know this is the case, because that is the only way I will
accept your homework. Follow these simple steps to accomplish the task:
- Getting connected, and logging in: Open a DOS prompt window and
type ftp. Just as it says in the instructions on logging in above,
you will be required to enter your username and password to log on to the
- Setting ASCII mode: Having successfully logged in, you will
then be greeted by the friendly ftp> prompt. Since you will be
sending up source code, which is plain text, the first thing you will type
is ascii to put the ftp program into text mode.
- Getting into the right directory: Next, get into the propper
directory for the class. Since the class is about UNIX, type cd
unix. Note the lower-case 'unix'.
- Let the uploading begin! Once you're in the right directory,
you will type: put localfile where localfile is the
name of the file on your local machine. You will need to wait just a
moment while it uploads the file, and then you will be told that it is
finished and presented with another ftp> prompt.
- Logout: Once you're done, type quit to
disconnect and leave.
If you're interested in finding out more about ftp, you can type
help at the ftp> prompt for a listing of common commands. A
really handy one is ls which will show you a listing of files. This is
useful for checking to see that your file actually uploaded properly.
You might be interested in using some neat-o GUI app for doing uploads
like CuteFTP or some such. If so, I hope you can read help files, 'cuz you're
on your own as far as I'm concerned.
If you have any questions as to how any of this stuff should work, ask the lab
aide, ask a fellow student, or ask me. Whatever you do, don't remain silent; you
need to know how to use the lab.