Two Commands to Get the GeoIP Country Info from an Ubuntu Machine

1st one:

curl ifconfig.net/country

2nd one:

curl -s ifconfig.me | xargs -I {} geoiplookup {} | awk -F ', ' '{print $2}'


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *