Name

tailf

Synopsis

tailf file

Print the last 10 lines of a file, then wait for the file to grow. tailf is similar to tail -f, but it does nothing when the file is not growing. Useful for following a logfile, particularly on a laptop when you want to conserve the battery power.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.