Sunday, February 17, 2013

Get your external IP address from the command line.

This one is from BSDGurl. Dependencies: curl,wget

$ wget -q -O -|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

These two are from Aaron B. The first one (ftp -V -o - works with base OpenBSD and FreeBSD with zero external dependencies! The second one needs 'curl'.

$ ftp -V -o -


$ curl

You can find a few more at


Post a Comment