Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#This one mails you the ip if it changes
#Deuteu inspired and guided by Allegrem
#Env variables
path="/home/user/ip_script"
old="$path/ip_old.dat"
mail="$path/ip_mail.txt"
log="$path/ip_log.log"