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
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