I am new to shell scripting. How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
A bit convoluted, but it works:
Call the script with the filename as the only argument.
|show 3 more comments|