Advertisement
ajcorrea

gerar_originate.sh

Jul 30th, 2014
247
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. rm -rf originas.bz2
  3. wget http://archive.routeviews.org/dnszones/originas.bz2
  4. bzcat originas.bz2 | awk -F\" '/^[^@].*\"/ { print $2,$4,$6 }' | uniq > xoriginas.txt
  5. rm -rf originas.txt
  6. mv xoriginas.txt originas.txt
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement