Show current ip address
Sometimes I need to know what my current ip address. While I could go to google and search for “what is my ip”, using the command line is obviously superior. :)
Example:
$ curl ipecho.net/plain; echo
xxx.xx.xx.xx
Various snippets that I have found to be helpful.
Sometimes I need to know what my current ip address. While I could go to google and search for “what is my ip”, using the command line is obviously superior. :)
Example:
$ curl ipecho.net/plain; echo
xxx.xx.xx.xx