Can you pipe an additional command using sudo

peterschmeichel at discoverfinancial.com peterschmeichel at discoverfinancial.com
Thu Jun 6 16:49:44 EDT 2002


I am trying to get the following command to run. Any suggestions ?

sudo find /usr/local -type f -exec ls -ld {} \; | awk '{sum+=$5} END {print
sum}'

I can get the command to run up to the point where the "|" is.

Thanks,

Pete




More information about the sudo-users mailing list