Is there any way to get the appended data only and to save it in another file except using tail -f. I want to make that file empty after 24 hours so that the space is saved on the disk. I want to run it as a background job and let it run for a day to extract only the appended online incoming data into a file say fname1. Then I will process that fname1 and make that empty and the command will continue to run as a background job. I can't use kill command as my boss doesn't allow it to run it on server. Thanx for your cool help in advance.