Lab 7: Finding things and Archiving

Due Tuesday, March 15, at 10:30 AM

As usual, place the commands you used to solve each of the 5 problems into a file called lab7
  1. Change directory to /etc on isoptera, and find how many files end in ".conf". These are config files for the system.
  2. Use find to list the files in /etc that are larger than 50 kb.
  3. Some permission denied messages will appear in the output for the command above. Revise the command to redirect these to /dev/null
  4. Use wget to download arch.tar.gz from the class examples area, then unpack the archive. The complete address is
  5. The archive contains a complete copy the CS253 website. There is a secret hidden in it. Find the secret. It is not obvious from the filename which file contains the secret, and so I recommend using grep.
  6. Write a C program that will take a string as a parameter, and print it out backwards. So if the program is run like this:
    		./theprogram monkey
    It should print out:
Turn in your lab by creating a file named "lab7" with no extension in your home directory, with permissions set so that only you can view the file. This assignment is worth 35 points, 5 from correct naming and permissions, and 5 from each of the problems above.