Re:Stop using tail -f (mostly)
by bch on Monday March 30, 2015 @02:35PM
(#9291567)
If you wanted to grab 10 lines from /var/log/messages, starting at the first line that has "pjungwlr" in it, you could:
[ Parent
| on HN ]
Re:Stop using tail -f (mostly)
by technofiend on Monday March 30, 2015 @03:37PM
(#9292016)
This is such a common problem there's a stackoverflow article on it.
http://stackoverflow.com/questions/17908555/printing-with-se...
(Actually, there's probably more than one despite their really good duplication grooming, but this was the first hit.)