CS 245
Sept. 19, 2008
Cygwin@phoenix
link. Login to phoenix. X Window is a GUI
interface, required for JUDE Community and Eclipse.
Linux is case sensitive -- be careful when entering username and password!
You may install the Cygwin software on your own workstation. Check
here
(http://phoenix.goucher.edu/~kelliher/cygwin/
).
for details.
(If you only need shell access, you could start the SSH Secure Shell Client
software on a lab workstation. Click the Quick Connect button and
enter the Host Name
(phoenix.goucher.edu
) and User Name information requested for the
dialog box which pops up. Click the Connect button and then enter
your password into the next dialog box.
A brief bit of documentation on SSH Secure Shell is available
here
(http://phoenix.goucher.edu/~kelliher/SSH/
).
In particular, you can download a copy of the software for educational
use.
There is also a Java SSH client applet available on phoenix
here
(http://phoenix.goucher.edu/ssh/
).
)
A window will open and you will now have a command line prompt on phoenix similar to this:
>You type a command and then press
Enter
to
run it. You can edit a command before you run it by using the arrow keys
to navigate the command line.
http://phoenix.goucher.edu/password.shtml
for some advice on selecting a good password. When you're ready, run the
passwd
program to change your password:
passwd
gedit
, create a file named name
containing your
name. Print the file in HS 149:
lpr -P hs149ps nameThe file should be printed on the printer in HS 149. The default printer is the printer in the X Lab,
hs123ps
.
Remove the file you just created:
rm nameUnlike Windows, once you remove a file in Linux, it is gone for good. So be careful!
/etc
:
cd /etcYou can verify that you're where you think you are by running the print working directory command:
pwd
.
Using the ls
command, list the files in /etc
. Too many to
fit on a single screen? Pipe the output to the paging program:
ls | lessRepeat again using the
-l
option to ls
What's the
difference?
cd
without
an argument). List the files in your home directory. Try again using the
-a
option. What's the difference? Read the man page for ls
to read about these two options and find what other options are available:
man ls
chmod
command:
chmod go= fooUse
ls -l
to verify. Finally, remove the directory with
rmdir
:
rmdir fooand use
ls
to verify its removal. As a safety precaution,
rmdir
only works on empty directories.
It is a good idea to create a new directory each time you start a new assignment or project, so that you don't clutter up your home directory. Using sub-directories for your assignments also helps keep others out of your files.
jude &(The
&
runs JUDE Community in the background, letting you continue
to type shell commands.)
If you now wanted to attach the exported diagrams to your project wiki, the easiest thing to do at this point would be to open a Web browser from your X session, browse to your project, and attach the diagrams.