Hacker News new | ask | show | jobs
by psexec 2198 days ago
> what is my ip

    alias my-ip='dig +short myip.opendns.com @resolver1.opendns.com'
3 comments

Awesome. Now try it at a client's off-site location with hardware and terminal locked down by someone else's IT department while you're trying to troubleshoot their connection.
Or your mobile device…
is this a serious comment? it reads like satire of an HN comment
I for one found this very useful
Sure, it's a good command to know, but completely apropos of nothing. A command line alias is not at all an alternative to typing "what's my IP" into google, something that even my mom could do.
Easier:

    $ curl icanhazip.com