I need a command which acts like tail -f.
Instead it should not go into an endless loop but instead show differences between the current and previous run.
I used awk, and wc methods to store line pointer but method is too slow and uses up quite a lot of IO resources because the file is quite big.
Perl seems to work but still seem to take up alot of CPU resources.
Thanks in advance
Instead it should not go into an endless loop but instead show differences between the current and previous run.
I used awk, and wc methods to store line pointer but method is too slow and uses up quite a lot of IO resources because the file is quite big.
Perl seems to work but still seem to take up alot of CPU resources.
Thanks in advance