Homework 9: Linux command line intro
2013-04-16
Apr 24, 11:59PM
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.
- 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 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?