LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-05-2001, 09:52 AM   #1
_TK_
Member
 
Registered: Feb 2001
Posts: 54

Rep: Reputation: 15
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.
 
Old 08-06-2001, 09:30 AM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to delete files with 0k file size in a directory justgiver Linux - Newbie 4 01-28-2008 05:56 AM
File Size Shell Script BlackLabel Programming 7 11-27-2007 08:48 PM
check file permissions in a script cambie Linux - General 9 09-22-2004 01:13 AM
Script to check for contents in a file darin3200 Programming 7 04-25-2004 06:26 PM
Help with file size script jpc82 Programming 10 04-01-2004 05:55 AM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration