LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need script to check file size. (http://www.linuxquestions.org/questions/linux-general-1/need-script-to-check-file-size-5122/)

_TK_ 08-05-2001 09:52 AM

Need script to check file size.
 
I need a script that checks the size of a file and if it has changed from the last check it will notify the admin by email. I'm not sure exactly what commands to use for this but if someone can give me some clues I think I can piece something together.

d3funct 08-06-2001 09:30 AM

Look into the Tripwire program. It runs md5checksums against files you name in the configuration file and will report any changes made since the last check.


All times are GMT -5. The time now is 02:38 PM.