Search Unix Commands/Scripts

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

Unix Commands/Scripts for '#Egrep' - 2 Commands/Scripts found

 Sample 1. Finding any of the multiple texts strings in file

egrep 'Error|Exception|Debug' logfile.txt

   Like      Feedback     egrep   grep log  grep

 Sample 2. Get lines containing any of the multiple errors / exceptions in running logs

tail -f /opt/WebSphere/AppServer/profiles/application/logs/SystemOut.log | egrep "(WSWS3713E|WSWS3734W|WSVR0605W||ThreadMonitor)"

   Like      Feedback     grep  grep logs  tail  tail -f  egrep

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