commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Returns your external IP address to the command line using only wget
There are 2 alternatives - vote for the best!
Plain Text Ip Output, independent of Layout change.
This is the command line I use to get my IP address in order to update my zoneedit account. Full script on my blog http://akim.sissaoui.com/linux-attitude/script-de-mise-a-jour-ddns-zoneedit-com-en-bashsh/
If you can do better, submit your command here.
You must be signed in to comment.