tail -f finish upon another process finish writing to the file
From:
Peng Yu
Subject:
tail -f finish upon another process finish writing to the file
Date:
Mon, 21 Jan 2019 14:27:20 -0600
Hi,
I use tail -f to show a file as it grows. However, if the process
which writes to the file is finished, tail -f will still wait there.
Is there a way to let tail -f finish once it detects nobody writes to
the file? Thanks.
--
Regards,
Peng