Created
December 6, 2015 21:19
-
-
Save ttlequals0/71a4a299343f94d57529 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat outage.log |awk {'print $1'} |sort |uniq -c | sort -k1nr | awk {'print $2'} >> outages_ips | |
for i in $(cat outages_ips); do whois $i |grep Organization: && echo $i && echo ------------------- ;done >> outage_matches.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment