CSCI 157: UNIX Power Utilities and Shell Programming

Laboratory Assignment 3

ASSIGNMENT DUE: see calendar on the web


1. TURN-IN a hard copy of the following:
              1) Give the chmod command to change permissions on file1 to give:                 2) Give the chmod command to change permissions on file2 to give:                 3) Give the chmod command to change permissions on file3 to give:                 4) Give the chmod command to add read permission for the group ownership of file4 but without modifying other existing
                     permissions.
               
                5) What is your standard file creation mode (type umask to see)?

                6) What umask would you use if you wanted all of the files you created to have by default                  7) What is chown used for?

Write a Basic Script