Programming Tools & Computer Science I

CSC 185 & 201, Spring 2013, Northern Virginia Community College

Homework 9: Linux command line intro

2013-04-16

Due:

Apr 24, 11:59PM

To submit:

Do the work listed below in your home directory on our server, and send an email to me at jal2016@email.vccs.edu with subject CSC 185 HW9 when you're done.

Directions:

  1. Create a folder called hw9 in your home directory. Change permissions to ensure that no one besides you can see inside it.
  2. Create a file called answers.txt in your hw9 directory, and use it to answer the question below.
  3. Create a file in /var/www/ilzd.org/csc185 with the name file-XYZ.txt (with XYZ replaced by your initials), and write a short message in it. Working in that directory, run the command chmod 600 file-XYZ.txt, and then (in a web browser) go to http://ilzd.org/csc185/file-XYZ.txt (again with XYZ replaced appropriately). What happens? Why?