How would I display five lines immediately before a specific line?
Here is code that should work, yet it doesn't for me. I want to show the 5 lines immediately before line 445.
kali >tail -n+445 /etc/snort/snort.conf | head -n 6
What did I do wrong?