Search Logs for Errors
Searches a log file for lines matching a pattern, case-insensitively. -i ignores case, -n shows line numbers, -A 5 shows 5 lines after each match for context.
When you need this: When hunting for specific errors in a large log file without reading the entire file.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.