Unix  Lab

Logging in for the first time

1.

2.

3. Change your password. To do this, type passwd, and hit return. You will be prompted to enter a new password. Choose something you will remember, but not a dictionary word or your user name. Then type it in again to be sure it is correctly entered.

Working with the UNIX shell

All web pages must reside in a special subdirectory of your home directory. This subdirectory is always named 'public_html.'

4. Create your public_html directory within your home directory.

5. Once the subdirectory has been created, use chmod with the appropriate octal number which will allow the owner (you) to read, write, and execute while allowing the Group and Public to Read and Execute (check with us before you do this to make sure you are using the correct number!)

6. (a) Change to your public_html directory. (b) Copy the file ~kal/public_html/form.html to your public_html directory.

7. Type this file out on your screen. This is a basic HTML file. The items enclosed in < >'s are called tags.

8. (a) Rename the file from 'form.html' to 'index.html' and (b) do the same chmod command on this file that you did on your public_html

Starting up Netscape

9. Double-click on the Netscape icon on your computer. When it's open, type the following into the top location window: www.wpi.edu/~yourusername. You should see the file you just copied.

10. Go back to your unix directory, and using emacs, replace the (a) title (between <title> and </title >), (b) header (between <h1> and </h1 >), and (c) body (between <body> and </body >) with words appropriate for you. Exit emacs.

11. Go back to Netscape and click on Reload. You should see your changes.

12.Fill out the course survey

Surfing the Web

13. Check out some of these web pages:

This is the main page to WPI
A popular search engine
A popular information resource web site
Another search engine.

All Done!