6 ms·
I prefer curl'ing icanhazip.com, and I make it a quick alias in my .bashrc: alias myip="curl icanhazip.com" Apachebench (ab) is a decent alternative to si
by Pewpewarrows 15y ago
I prefer curl'ing icanhazip.com, and I make it a quick alias in my .bashrc:
alias myip="curl icanhazip.com"
Apachebench (ab) is a decent alternative to siege, and knowing how to use tcpdump and netcat comes in handy for debugging. Other than that, my new favorite command line tool over the past several months has to be vagrant, which lets you script and streamline VM creation and builds from the command line. If I need to completely reproduce my production environment on a test box, it's my utility of choice.
- RyanKearney 15y agoThat only returned my IPv6 address so I can't get my IPv4 address with that.
- madars 15y agoTry ipv4.icanhazip.com and ipv6.icanhazip.com .
- LiveTheDream 15y agoI use http://whatismyip.org/ http://whatismyip.org/ frequently.
- mwill 15y agoTheres also http://ifconfig.me/ http://ifconfig.me/ which acts similarly. The page has a list of curl commands you can issue and what your output will be.