next up previous
Next: About this document ...

Milestone #1
CpSc 481/681: Skills for Visual Computing
School of Computing
Clemson University
Using an editor to create a file
Brian Malloy, PhD
August 25, 2009



The purpose of this milestone is to help you to become familiar with command-driven computing, to become familiar with an editor of your choice, and to become familiar with file creation. Thus, your assignment is to use an editor to create a web page that contains:

  1. The basic elements described below.
  2. An image of your creation.
  3. A link to enable download of the compressed directory for your web page.

We described the basic elements of a web page during lecture on Monday, August 24th; at that time, we developed a web page with the following elements:

<html>
<head>
 <title>
   This is my first web page
 </title>
</head>
<body>
This is IT!
</body>
</html>

You should use an editor to create a file with a suffix of .html, and then type in the commands listed above for the basic elements. You will also have to use a tool to build an image, for example gimp. Then, incorporate your image into your web page using the html elements required to display your image onto the page; I'll demonstrate these elements during lecture this week. Finally, place a hyperlink on your web page that permits the viewer to download the compressed directory containing your web page; you should place the compressed directory for your web page in a subdirectory of your web page directory, and add an html hyperlink to enable download of that file.

I will demonstrate all of this during lectures on August 26th and perhaps on August 28. Obviously, you cannot use an html editor or web page builder such as Dreamweaver, since that would defeat the purpose of the milestone.

In order to receive full credit for this assignment, your solution must be submitted, using the handin command, by 8 AM, Monday, August , 2009. To submit your solution, please zip your directory and submit your entire compressed directory using the handin command. In lecture, I will demonstrate two methods for compressing a directory, zip and tar, and I will show you how to use the handin command. The syntax of the zip and tar commands is:

        zip -r <dir>.zip <dir>
        tar -zcvf <dir>.tar.gz <dir>

And the syntax for the handin command is:

        handin.481.1 1 <compressed directory name>

Where handin.481.1 means that you are using the handin command for CpSc 481, Section 1. The first means that this is the first milestone and compressed directory name is the name of the directory that you compressed using either zip or tar.

Good luck with the assignment, and I hope that this milestone helps you to become more comfortable with the unix environment.




next up previous
Next: About this document ...
Brian Malloy 2009-08-25