Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I prefer:-

    tail --follow=filename
to:

    tail -f filename
The former will spot inode changes and reopen the filename if the file wraps (or has something else done to it to change its inode). The latter will just sit there seeing no new input in such cases.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: