Exercise
Make a directory of Your Files Accessible on VAweb

In this exercise, we will make a directory of files (not necessarily HTML files) accessible to those who have access to VAweb.
  1. Change to your public HTML directory:
    cd ~/public_html
  2. Make a directory for your files. Do not include a space in the directory name instead use _ or capitalize each word (as I have done below).
    mkdir stockInfo
  3. Copy files to your directory.
    1. Change directories to ~vaweb/Finance/stock using pushd. Shortly you will learn the advantage of pushd over cd.
      pushd ~vaweb/Finance/stock
    2. Copy all the files in that directory to you stockInfo directory.
      cp * ~/public_html/stockInfo
    3. Change directories back to your own public_html directory using popd, which takes you back to the directory you were in when you called pushd.
      popd
    4. Change directories to stockInfo
      cd stockInfo
    5. Using your favorite editor or XEmacs create the file README, which should say something about the files in your stockInfo directory.
      xemacs README
    6. Examine your directory in your browser.
      1. In the location window of your browser, type
        vaweb.valinux.com/~user/stockInfo
        to view the contents of the directory "stockInfo" or use the name of the directory you created.
      Or
      1. From the File menu in Navigator, choose the "Open Page" from the File menu. The Open Page dialog box appears
      2. Click the "Choose File" button. The file browser appears.
      3. Navigate to your public_html directory. The directory stockInfo will now appear in the Files box.
      4. Click on stockInfo and then hit the return key or click the "OK" button at the button left of the dialog box. Then click "Open in Navigator" in the Open Page dialog box. You should always check your work in your browser.

VA Linux Systems logo

   
I would appreciate comments, corrections, and
suggestions for how I can improve this course.

Nancy Blachman
Variable Symbols, Inc.
356 Bush Street
Mountain View, CA 94041-1332
650 966 8999
650 966 8998 fax
nancy- at -variablesymbols.com

If you want to learn how to search effectively using Google, visit Google Guide, which you can find at www.googleguide.com.