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
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
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 one shell, fire up tail on a file that does not y