Whats my ip address from the CLI
Get your external IP address on the command line
dig @resolver4.opendns.com myip.opendns.com +short -4
And/or edit your .bashrc and create an alias:
vim ~/.bashrc
Then near the bottom add:
alias whatsmyip='dig @resolver4.opendns.com myip.opendns.com +short -4'
And/or edit your .bashrc and create an alias:
vim ~/.bashrc
Then near the bottom add:
alias whatsmyip='dig @resolver4.opendns.com myip.opendns.com +short -4'