Tuesday, January 11

Moar Bash - Time to get some contact info...

Once again a task from work presented a strange challenge, reading the contact infomation for 400+ domains...

for x in $(cat ./list_of_domains); do whois -H $x | awk 'BEGIN{RS=""}/Registrant/,/Registration Service Provider:/ {print} END{print "----------------\n"}' && sleep 5000; done >> ./domain_infomation

Tada!
Post a Comment

Search This Blog