ls -la /www/wwwlogs/*.log | grep -v 'error' | grep 'Jun 24' | awk {'print $9'} > /tmp/files;

count=0;
num=0;

while read line
do
    num=`cat $line | grep '24/Jun/2022' | grep 'GET / HT' | grep ' 200 ' | grep -v admin |grep -v manager | grep -v user | grep -v login | awk {'print $1'} | sort | uniq | wc -l`;
	let count=$count+$num;
	
done < /tmp/files

echo "show count: $count"
echo "ip count: $count" >/var/tmp/count.txt

rm -rf /tmp/files;
rm -rf /var/tmp/count.sh