Can you pipe .. wth?
Howard Owen
hbo at egbok.com
Thu Jun 6 17:36:00 EDT 2002
--On Thursday, June 06, 2002 02:14:14 PM -0700 "Paul M. Lambert"
<plambert at plambert.net> wrote:
> sudo find /usr/local -type f -exec ls -ld {} \; | sudo awk '{sum+=$5} END
> {print sum}'
Also, in 'ls -ld', the 'd' is superfluous since we've already specified
plainf files
in the 'find'. But that's off-ropic for this list. 8)
Howard Owen "Even if you are on the right
EGBOK Consultants track, you'll get run over if you
hbo at egbok.com +1-650-339-5733 just sit there." - Will Rogers
More information about the sudo-users
mailing list