Unix administration stuff that was hard to find out using Google and caused a lot of try and error. Hereby given back to the net...
|
|
Tweet |
|
Link Collections Linux Security Tools Projects Recent Posts
Comments
|
Follow file with tail until it gets removed...
Submitted by Lars Windolf on 3. January 2012 - 17:23.
Instead of
use
Using the long form --follow instead of -f you can tell tail to watch the file name and not the file descriptor. So shortly after the file name was removed tail will notice it and terminate itself. |
Post new comment