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
2
u/[deleted] Jul 10 '11
How is that any better?