Use wget and sed to get your public IP adress (instead of firing up firefox and visting whatismyip.com). Usefull in scripts where you need your public IP adres.
There are probably better ways, maybe even a GNUtool that I missed?
- wget --quit -O - checkip.dyndns.org | sed -e 's/[^:]*: //' -e 's/<.*$//'
CommentsSubscribe to comments
You need to login to post a comment.