Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Dec 152010

What are the difference between tail -f and tail -F?


Basically these two command are very similar, except tail -F do one more thing: the retry.

This is useful when you are tailing a web server log, e.g. apache log. When the the log file got rotated, the tail -F will continue to work since it will retry for the rotated file, while tail -f can't.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>