Quote:
Originally Posted by
methyl
What are you typing to run this script?
cko 1 & to run in background with endless loop (without 1st parameter to run just 1 time)
Quote:
Where does the value of $log and $logline and $1 come from ?
oh, sorry - didn't put the whole script in here. logvariables are defined - filenames
Quote:
What is the script intended to do?
script creates "image" of something and stores it in $log on 1st run.
inside of the loop new image is created to $logfile and "compared" to previously created one.
changes should immediately printed out with 'echo' (maybe security issues).