#!/bin/bash ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') echo $ip echo "" echo ""