#!/bin/sh # $1=geo for verbose look up curl -s "https://ipinfo.io/${1:-}" | jq .