Search Unix Commands/Scripts

  Help us in improving the repository. Add new commands/scripts through 'Submit Commands/Scripts ' link.

Unix Commands/Scripts for '#Find errors in log file' - 1 Commands/Scripts found

 Sample 1. Get all Errors in a log file for last n days in a seperate error file

find /LogFilesfolder/ -iname "SystemOut*" -mtime -7 -exec zgrep "| ERROR |" {} ; >> logReport.txt

   Like      Feedback     find  -iname  -mtime  zgrep  find errors in log file

Subscribe to Java News and Posts. Get latest updates and posts on Java from
Enter your email address:
Delivered by FeedBurner