find . -name 'postgre*' | xargs grep -c 172.16.1.2 ./postgresql-Sat.log:12998168 ./postgresql-Fri.log:34109768 ./postgresql-Sun.log:10844160 ./postgresql-Thu.log:12965014 ./postgresql-Mon.log:23323058 ./postgresql-Tue.log:31159448 ./postgresql-Wed.log:12933239 find . -name 'postgre*' | xargs wc -l 14364681 ./postgresql-Sat.log 40218997 ./postgresql-Fri.log 12648770 ./postgresql-Sun.log 17589348 ./postgresql-Thu.log 31839835 ./postgresql-Mon.log 38824194 ./postgresql-Tue.log 18600810 ./postgresql-Wed.log
xargs kullanımı
Ekim 25th, 2011 § Yorum yok
Bir cevap yazın