tail -f
will update the file once new data is inserted , but if the whole file is being rewritten it will give an error .
is there any other option to keep reloading the whole file ?
Thank you
tail
tail -f
will update the file once new data is inserted , but if the whole file is being rewritten it will give an error .
is there any other option to keep reloading the whole file ?
Thank you
Best Answer
man tail
gives :tail -F
ortail --follow=name --retry
to keep tail watching file even if all the file is rewritten.