myhome/.local/bin/geoip

4 lines
34 B
Bash
Executable File

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