Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
quick ISP lookup
# - Save as, then run the commands
# - chmod +x
# - ./ ip_addresses.txt
# It reads the ip_address.txt line by line,
# does a whois request on each line, and looks
# for the term 'netname' in each whois.
while read line
whois $line | grep netname
done < $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment