
find / ! -type d |grep -v "^/sys"|grep -v "^/proc" This will exclude the sys and proc systems from the output of find. Pretty brute force and there is probably a way of combining the two regex into one grep command. There may also be ways of doing it all inside find. Pehaps by using "-fstype ext3" or "! -wholename /sys* ! -wholename /proc*". Regards Leslie Katz wrote:
Thanks both to Oliver and to Aristotle for taking the trouble to reply to my query.
I'll have to take Aristotle's word that the difference between my second and third results, as implied by Oliver, was caused by /proc and /sys "files", since I don't know how to act on Oliver's suggestion to exclude those "directories" from my command. I printed out and tried to read the entire man page for "find", but that didn't overcome my ignorance.
Thanks again,
Leslie
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug