Skip to content

Instantly share code, notes, and snippets.

View ttlequals0's full-sized avatar
✈️
I may be slow to respond.

Dominick Krachtus ttlequals0

✈️
I may be slow to respond.
View GitHub Profile
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
cat prod_sorted | sed -n '/01\/Sep\/2015:14:30:00/ ,/01\/Sep\/2015:15:35:00/p' >> outage.log
mkisofs -o ks.iso -no-emul-boot -c boot.cat -boot-load-size 4 -hide boot.bin -b isolinux.bin -boot-info-table -R -J -v -T temp_image/