On Wed, Aug 26, 2009 at 6:27 AM, Joey<[email protected]> wrote: > it turned out that "ls" was expanding "./." > > so the solution is > > find / -false -user root -type f -exec ls -l {} \; > > use -type to limit the output offered to "ls" contains only the > regular files.
A nice companion command to find is xargs, which can speed things up significantly for large lists. $ find / -false -user root -type f | xargs ls -l $ find / -false -user root -type f -print0 | xargs -0 ls -l http://linux.die.net/man/1/xargs Regards, - Robert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
