Find external IP address in bash
Sat, Mar 27, 2021 · 1 minute readbash
I needed to find my external IP address from bash command line.
Quite easy:
$ curl -s http://whatismyip.akamai.com
That URL also works in a browser.
I needed to find my external IP address from bash command line.
Quite easy:
$ curl -s http://whatismyip.akamai.com
That URL also works in a browser.