Assignment 1: Intro to Unix
Here are the files we used in class args.c and
wild.tar. Here is a new file
pattree.tar.gz which you can download
and do gunzip to remove the .gz and then do tar xf pattree.tar to
unpack into a subtree files under the directory top. When you
are done with the assignment you can remove the files with
/bin/rm -rf top. Here are some questions.
- How deep to the directories go?
- How many files ending in .pat are there?
- How many .pat files have Exclude14FootTimber?
- How many .pat files have Exclude14Foot4x4Timber?
- How many .pat files have Allow4x4?
- What are the different values CantKerf has in a .pat file?
- What are the different values EdgerKerf has in a .pat file?
- How many different versions of the software wrote these files?
- Plot n vs the number of .pat files with n lines.
- Many of the .pat files have strange permissions, what command
would you use to make them all have -r--r--r-- permissions?