Site hosted by Angelfire.com: Build your free website today!

"Hello, World!" With a Sample Unix Session


  1. Use telnet software to connect to the WebCity server (webcity.arc.losrios.cc.ca.us)
    Mac: BetterTelnet PC: Telnet.exe

  2. login: smithp (enter your login here)
    password: (enter your web password here: 123456)

  3. To get oriented to your account, use the following command to get a list of files and directories:

         ls (or ls -la)

  4. To change directories, use:

         cd public_html (cd, followed by the name of the directory)

  5. To create an HTML file, use the text processor pico:

         pico hello.html (pico, followed by the name of the HTML file you wish to create)

  6. Type in the following HTML codes using pico. Note: the mouse doesn't work in pico. Use arrow keys and the delete key instead.

    <HTML>

    <HEAD>
         <TITLE>Hello Document</TITLE>
    </HEAD>

    <BODY>
    <P>Hello, World!</P>
    </BODY>

    </HTML>

  7. To save your file in pico, use the Control key and the X key pressed simultaneously. Follow the directions.

  8. To end your session with the WebCity server, type the following at the prompt:

         exit

  9. I want everyone to have a ZipMail (student e-mail) account. Please visit the ZipMail web site. Click on the upper left link, "Request a ZipMail Account". The URL for ZipMail is: http://zip.arc.losrios.cc.ca.us