-
-
Save 2bj/133909 to your computer and use it in GitHub Desktop.
bash implementation of myip.yandex.ru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# @author: 2bj | |
curl -s myip.yandex.ru | grep "IP: " | sed 's/^ *//g' | sed 's/Ваш IP: //g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment