myhome/.local/bin/geoip

4 lines
34 B
Plaintext
Raw Permalink Normal View History

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