Programming Tools & Computer Science I

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

Homework 9: Linux command line intro



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 with subject CSC 185 HW9 when you're done.


  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/ 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 (again with XYZ replaced appropriately). What happens? Why?