2021-04-03 11:08:41 +02:00

7 lines
100 B
Bash
Executable File

#!/usr/bin/env bash
#
# Print public IP address
set -e
curl -s 'https://api.ipify.org?format=text'