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|javax.net.ssl.SSLHandshakeException|ThreadMonitor)"
|
|
Like Feedback grep grep logs tail tail -f egrep |
|
|