Red Hat Bugzilla – Bug 153294
WB5 Ch Lab Test Q4
Last modified: 2008-05-01 11:39:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
Create the following three files in your home directory, which each contain a list of files that match the specified criteria. The files should list only the filenames, one per line, using absolute references.
noroot.txt - All files underneath the /etc directory which are not group owned by the group "root".
The answer in the script is answer is
["noroot.txt", "find /etc -not -group root"],
If you dont put in -type f it puts in directories and some files that are group owned by root, which is confusing the students
Version-Release number of selected component (if applicable):
Steps to Reproduce:
prefer to remind students that the Unix term "file" means any filesystem entry,
especially in a context like this (if you meant otherwise, you should use
the term "regular file").