my-scripts/iplocate

6 lines
52 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
curl "ipinfo.io/$1"