Link to
Colorado State University Home Page

Assignment 2: Unix File Commands and Your Personal Web Page

Description

In class, we will be discussing basic Unix commands that allow you to manipulate files and directories. For this assignment you will exercise what you have learned to build your very first, extremely simple, personal web page for your CS account. To accomplish this, you must perform the following steps:

  1. Create a new directory in your account named public_html.
  2. Set the permissions on that directory to allow everyone read and execute access to the directory.
  3. Create a new text file in your public_html directory named index.html. Put some very simple text in the file, such as the single line Under construction.
  4. Set the permissions on this file to be read-only for everyone but yourself. You should allow yourself read/write access to the file.
  5. Test it. Use a web browser to visit your web page. If smith is your last name, then point your browser to the URL www.cs.colostate.edu/~smith.
  6. Print your page as it looks in the web browser.
  7. Write your username and student number of the piece of paper. Sign it. Hand it in in class.

Use the links available on the class web page in the On-Line Resources section to find links to Unix tutorials.