Homework 9: Linux command line intro
Apr 24, 11:59PM
Do the work listed below in your home directory on our server, and send an
email to me at firstname.lastname@example.org with subject CSC 185 HW9 when
- Create a folder called
hw9 in your home directory. Change permissions to
ensure that no one besides you can see inside it.
- Create a file called
answers.txt in your
hw9 directory, and use it
to answer the question below.
- Create a file in
/var/www/ilzd.org/csc185 with the name
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
XYZ replaced appropriately). What happens? Why?