Take a list of ip ranges and check each ip in the range

for j in 100.000.208 100.000.209 100.100.210 100.100.211; do for i in $(grep $j katchart| awk '{print $4,$6}' | sed s/' '/'.'/g  | awk -F\. '{print $4,$8}'| while read b e; do seq -f "$j.%g" $b $e; done ) ; do ls -lh  100.00/file_stuff; done ; done