Skip to main content
added 71 characters in body
Source Link
andreatsh
  • 2.1k
  • 1
  • 17
  • 15

TryIf you want to get the lines with the words ERROR and Exception, try:

grep -E "ERROR.*Exception" $file

Try:

grep -E "ERROR.*Exception" $file

If you want to get the lines with the words ERROR and Exception, try:

grep -E "ERROR.*Exception" $file
Source Link
andreatsh
  • 2.1k
  • 1
  • 17
  • 15

Try:

grep -E "ERROR.*Exception" $file