WWW Authoring intro: Day 1 Exercise 2


There are a number of file management tips and techniques that can make creating and maintaining your web pages a little easier.

Part 2.1: Scan WWW-data Directory.

Despite the fact that the www-data directory is in AFS, you can use the Network Server SCAN command to view its contents.
  1. Return to the Network Server menu, by using F3, or by logging in again.
  2. At the prompt, enter scan /ahome/userid/public/www-data/.
  3. You will see a list of the files you have in your www-data directory.

Part 1.2: View your page using LUNX

LUnx is a locally-written text-based WWW browser, based on Lynx, that uses the Network Server-standard function keys. When you list a .htm or .html file, with the list command or by selecting it in SCAN, the Server displays the file in LUnx.
  1. In the SCAN listing of your www-data file, go to (highlight) your home page file name.
  2. Press Enter. Your home page will be displayed in LUnx.
  3. To exit LUnx, press F3.

Part 1.3: Set up UNIX symbolic link for www-data

To make editing and viewing your files easier, you can set up a symbolic link which will make a nickname for your www-data directory that looks like a subdirectory of your Network Server space.
  1. In the Network Server, enter shell to get to the UNIX prompt.
  2. To create the nickname, enter:
    ln -s /afs/cc.lehigh.edu/home/userid/public/www-data subdirectory
    where subdirectory is the nickname you want to use.
  3. To get back to the regular Network Server, enter exit.
  4. In the Network Server, type scan.
  5. In your file listing, you will see the "nickname" subdirectory. Select it and press enter; you will see the contents of your www-data directory.
End of Exercise.

 Previous  Top  Next
JAH, 13 Sept 1996.