How to delete a line from a busy file?
I have a log file which is continously being accessed. Now I want to delete the first line without disturbing the file.Is it possible?
The Issue is the log file is being provisioned with ^@^@^@ characters in the first line occupying huge space.So I need to get rid of that. I dont have time to work with root cause but just a script to reduce this space.
Last edited by your_shadow03; 03-03-2010 at 06:59 AM.
|