This Bash script checks the external IP address of your network and compairs it to the text file. If it has changed it writes the new IP to the file and sends an email.