Save this shell script as "treereset.sh". Modify the permissions on the tree and run the file to ensure it resets them back.
Create two more shell scripts, call one "lspr" and one "lssales".
"lspr" should search through a database given at the command line and print out only those people who are in the PR group (it should do so in a case-insensitive way).
"lssales" should search through a database given at the command line and print out only those people who are in the Sales group (again, it should do so in a case-insensitive way).
Run these files on "ody_employees.dat" and verify that they produce the correct output.