SHARE
TWEET

myip_geoip.sh

kisslo May 19th, 2017 (edited) 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. #sh /root/myip_public > /tmp/ip && geoiplookup `cat /tmp/ip` && rm /tmp/ip
  3. IP=$(sh /root/myip_public.sh);
  4. geoiplookup $IP
  5. #echo $IP
RAW Paste Data
Want to get better at Bash?
Learn to code Bash in 2017
Top