The allset variable appears to be the entire set of descriptors. I will need to study this further, but
the loop on the next page appears to copy allset to
rset, check which of the descriptors on rset may be
ready, and then proceed to open and close descriptors
in allset based on their status...
You avoid the error messages by redirecting
them to /dev/null as I mentioned in my
previous post. Try this:
find / -name filename -print 2>/dev/null
Dick S.
Mr Vlad is correct, however in some older versions
of 'find' you also need to add the -print option
or you won't get any output. Nowadays it's the
default so you don't need to add it. Also, you
may not want to start in the root directory (/)
as the search will cover all reachable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.