Portable myip

This commit is contained in:
Meutel 2017-08-21 18:50:31 +02:00
parent 29c94709ca
commit e2459f9032

View File

@ -58,4 +58,4 @@ alias reboot='sudo reboot'
alias poweroff='sudo poweroff' alias poweroff='sudo poweroff'
alias vm='sudo vm' alias vm='sudo vm'
alias myip='dig +short myip.opendns.com @resolver1.opendns.com' alias myip="host -4 myip.opendns.com resolver1.opendns.com | sed -n 's/myip\.opendns\.com has address \(.*\)$/\1/p'"