View your external IP Address
In your shell config file:
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
Now you can simply type:
myip
Which Outputs
12.34.567.89
Written by Jason Seney
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#