How to grep error string from log file

I would like to grep error line from log file

Here is a good tutorial on how to use grep. In short grep [options] pattern [files]. The error line would be the pattern and then pass the path to the log file.

1 Like