Take a list of ip ranges and check each ip in the range
1
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
1
d=21 k=21 j=1011 ; for i in $(grep '00:' max); doecho"$i d$((j++))".banana.co 10.10.4.$((k++)) 10.10.18.$((d++)); done
1
for i in `awk -F\('/hiera/ {print $2}'/etc/puppet/manifests/server_manifests/*.pp | sed s/\;//g | sed s/\]//g | sed s/\)//g | sed s/\,//g`;doif grep -q $i /etc/puppet/hieradata/*.yaml ; then echo found $i; else echo "did not find $i"; fi; done | grep -v found