Comment on Linux Commands for DevelopersparentComments−alexfoo14yI prefer:-tail -F filenameas most of the logfiles I need to watch tend to wrap at some point and 'tail -f' doesn't check for inode changes.(-F is a non-standard option, it's there on GNU's [EDIT] tail binary and OS-X but not Solaris for example).−talkingquickly14yThanks, very useful - didn't know that!
Comments
I prefer:-
tail -F filename
as most of the logfiles I need to watch tend to wrap at some point and 'tail -f' doesn't check for inode changes.
(-F is a non-standard option, it's there on GNU's [EDIT] tail binary and OS-X but not Solaris for example).
Thanks, very useful - didn't know that!