How to print lines before and after a match found by grep in a document
Asked by
Julianloui
Frequently I feel a need to display a few lines before and after a match found by grep in Linux. I'll appreciate anyone's help in this matter.
Julianloui
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Krüger
- Solved:
- Last query:
- Last reply:
To post a message you must log in.