Join Slack
Powered by
I didn't know about this until today `grep -B 2 ab...
# random
v
visch
09/29/2021, 3:26 PM
I didn't know about this until today
grep -B 2 abc
grep -A 2 abc
A is "After" B is "Before" shows you the lines before and after your match, Pretty nifty
a
aaronsteers
09/29/2021, 4:43 PM
Wow - that is super handy!
f
florian.hines
09/29/2021, 8:50 PM
it always takes me like 3 retries to remember that its -A/B not -a/b
Open in Slack
Previous
Next