Re: Tail bug when following non-existent files and skipping lines (tail -F -n +2)

2019-06-10 Thread Jon Hart
Yes -n/--lines certainly becomes more complicated when files are being rotated. In my case the file is not getting rotated but simply does not exist yet. My work around is to wait for the file to exist first and then run the tail. -jon -- NOTICE OF CONFIDENTIALITY: At Rapid7, the privacy of ou

Re: Tail bug when following non-existent files and skipping lines (tail -F -n +2)

2019-06-09 Thread Pádraig Brady
On 07/06/19 21:26, Jon Hart wrote: > I have a file that does yet exist, but when it does finally exist I want to > skip the first line and follow the remainder of the file. tail -F -n +2 > should do this, however it does not skip the first line -- it starts > printing at the first line. > > In on