myhome/.local/bin/geoip

4 lines
34 B
Plaintext
Raw Normal View History

#!/bin/bash
curl -s ipinfo.io/$1