dotfiles/script/myip

7 lines
100 B
Plaintext
Raw Normal View History

2021-04-03 09:08:41 +00:00
#!/usr/bin/env bash
#
# Print public IP address
set -e
curl -s 'https://api.ipify.org?format=text'