Log on to UNIX using a telnet program. SSH for a PC, Fugu for a Macintosh, available from UH ITS folks- thanks!
There are two different ways to access your UHunix account; text-based and graphics-based. Using SSH, you can switch between the two; on the toolbar, text-based is the gray box with the blue dots, and graphics-based is the yellow folder with the blue dots. Fugu is graphics-based; for text-based UNIX on a mac, go to Applications > Utilities > Terminal.
There are many different ways to perform functions in the various programs.
Using SSH:
Click on "Quick Connect"
Host name: uhunix2.its.hawaii.edu
Username: your uhunix username
click "connect" and enter your password.
Using Fugu:
Connect to: uhunix2.its.hawaii.edu
Username: your uhunix username
click "connect" and enter your password.
Using Terminal:
Type: ssh yourusername@uhunix2.its.hawaii.edu at the $ prompt and hit the return/enter key
Type in your password and hit the return/enter key
The prompt that you see may look similar to this (this is known as your home directory):
uhunix5:/home/14/kmorgan% or it may just be the % sign.
If at any point, you get confused about where you are, you can type the command pwd and you can see which directory you are in.
In UNIX (and most systems) all Web files need to be placed within a directory
called public_html (case sensitive!). Some accounts come with this directory already
available, and sometimes you need to create one.To see what files and directories
you already have, you can display the contents of your main directory. To do this,
at the prompt, type in the command to list files in long format, which is ls
-l (short format is just ls, try it out to see the difference).
Example:
uhunix5:/home/14/kmorgan% ls -l
This will bring up a list similar to this one:
-rw------- 1 kmorgan uhmstud 337 Aug 12 17:12 dead.letter
-rw-rw-r-- 1 kmorgan uhmstud 5668 Sep 18 18:19 evals
-rw-rw-r-- 1 kmorgan uhmstud 726370 Sep 25 13:58 g9data.rtf
-rw------- 1 kmorgan uhmstud 6344 Apr 20 10:43 learning
drwx------ 2 kmorgan uhmstud 512 Oct 12 22:31 mail
drwxr-xr-x 5 kmorgan uhmstud 1024 Oct 14 21:05 public_html
You can see here that I already have a directory called public_html.
You can distinguish a directory by looking at the far left-hand side of line,
if it begins with a d then it is a directory, as in
drwxr-xr-x 5 kmorgan uhmstud 1024 Oct 14 21:05 public_html
A - generally means it is a regular file as in
-rw------- 1 kmorgan uhmstud 6344 Apr 20 10:43 learning.html
The right (remote) side of your program may be blank; the left (local) side should show files and folders on your own computer. All of your html files must be placed in a public_html folder.
Folders are called "directories" in UNIX.
Next: Creating Directories in UNIX »