Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grep -i "my_regex"
- This is the test data
- This is the error data as follows
- . . .
- . . . .
- . . . . . .
- . . . . . . . . .
- Error data ends
- . . .
- . . . .
- . . . . . .
- . . . . . . . . .
- Error data ends
- grep -i -B 10 'error' data
- grep -i -A 10 'error data'
- grep -i -A 10 "my_regex"
Add Comment
Please, Sign In to add comment