How to process continuously updating file from start of fail? .


1 How to process from start of a continuously updating file( 1 --> infinite) ? 2 tail -f / tail -n10 -f solution is not correct, because it processing the file from end or some n lines form end of file. But i need to process the file from start of file to forever(continuous).


From tail --help:

-n, --lines=K            output the last K lines, instead of the last 10;
                           or use -n  K to output starting with the Kth


tail -f -n  1
By : Kenney

This video can help you solving your question :)
By: admin