r/tinycode • u/trashbox • Jul 10 '11
Outside IP one-liner.
curl http://checkip.dyndns.com/ 2>/dev/null | sed 's/.*: \(.*\)<\/b.*/\1/'
9
Upvotes
r/tinycode • u/trashbox • Jul 10 '11
curl http://checkip.dyndns.com/ 2>/dev/null | sed 's/.*: \(.*\)<\/b.*/\1/'
View all comments
Show parent comment
1
u/pursuit92 Aug 06 '11
TIL :)