dotfiles/script/myip

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'