2 .\" Created: Thu Jan 11 16:43:10 1996 by faith@acm.org
3 .\" Copyright 1996, 2003 Rickard E. Faith (faith@acm.org)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .TH TAILF 1 "13 February 2003" "" "Linux Programmer's Manual"
27 tailf \- follow the growth of a log file
30 [\fIOPTION\fR] \fIfile\fR
33 will print out the last 10 lines of a file and then wait for the file to
34 grow. It is similar to
36 but does not access the file when it is not growing. This has the side
37 effect of not updating the access time for the file, so a filesystem flush
38 does not occur periodically when no log activity is happening.
41 is extremely useful for monitoring log files on a laptop when logging is
42 infrequent and the user desires that the hard disk spin down to conserve
45 Mandatory arguments to long options are mandatory for short options too.
47 \fB\-n\fR, \fB\-\-lines\fR=\fIN\fR, \fB\-N\fR
50 lines, instead of the last 10.
52 This program was originally written by Rik Faith (faith@acm.org) and may be freely
53 distributed under the terms of the X11/MIT License. There is ABSOLUTELY
54 NO WARRANTY for this program.
56 The latest inotify based implementation was written by Karel Zak (kzak@redhat.com).
58 .BR tail "(1), " less "(1)"
60 The tailf command is part of the util-linux-ng package and is available from
61 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.