Penguin
Annotated edit history of tail(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 TAIL
2 !!!TAIL
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 REPORTING BUGS
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 tail - output the last part of files
15 !!SYNOPSIS
16
17
18 __tail__ [[''OPTION'']... [[''FILE'']...
19 !!DESCRIPTION
20
21
22 Print the last 10 lines of each FILE to standard output.
23 With more than one FILE, precede each with a header giving
24 the file name. With no FILE, or when FILE is -, read
25 standard input.
26
27
28 __--retry__
29
30
31 keep trying to open a file even if it is inaccessible when
32 tail starts or if it becomes inaccessible later __--__
33 useful only with __-f__
34
35
36 __-c__, __--bytes__=''N''
37
38
39 output the last N bytes
40
41
42 __-f__, __--follow[[=__{name|descriptor}]
43
44
45 output appended data as the file grows; __-f__,
46 __--follow__, and __--follow__=''descriptor'' are
47 equivalent
48
49
50 __-n__, __--lines__=''N''
51
52
53 output the last N lines, instead of the last 10
54
55
56 __--max-unchanged-stats__=''N''
57
58
59 see the texinfo documentation (the default is
60 5)
61
62
63 __--max-consecutive-size-changes__=''N''
64
65
66 see the texinfo documentation (the default is
67 200)
68
69
70 __--pid__=''PID''
71
72
73 with __-f__, terminate after process ID, PID
74 dies
75
76
77 __-q__, __--quiet__, __--silent__
78
79
80 never output headers giving file names
81
82
83 __-s__, __--sleep-interval__=''S''
84
85
86 with __-f__, sleep S seconds between
87 iterations
88
89
90 __-v__, __--verbose__
91
92
93 always output headers giving file names
94
95
96 __--help__
97
98
99 display this help and exit
100
101
102 __--version__
103
104
105 output version information and exit
106
107
108 If the first character of N (the number of bytes or lines)
109 is a `+', print beginning with the Nth item from the start
110 of each file, otherwise, print the last N items in the file.
111 N may have a multiplier suffix: b for 512, k for 1024, m for
112 1048576 (1 Meg). A first OPTION of __-VALUE__ or +VALUE
113 is treated like __-n__ VALUE or __-n__ +VALUE unless
114 VALUE has one of the [[bkm] suffix multipliers, in which case
115 it is treated like __-c__ VALUE or __-c__
116 +VALUE.
117
118
119 With __--follow__ (-f), tail defaults to following the
120 file descriptor, which means that even if a tail'ed file is
121 renamed, tail will continue to track its end. This default
122 behavior is not desirable when you really want to track the
123 actual name of the file, not the file descriptor (e.g., log
124 rotation). Use __--follow__=''name'' in that case.
125 That causes tail to track the named file by reopening it
126 periodically to see if it has been removed and recreated by
127 some other program.
128 !!AUTHOR
129
130
2 perry 131 Written by Paul Rubin, David !MacKenzie, Ian Lance Taylor,
1 perry 132 and Jim Meyering.
133 !!REPORTING BUGS
134
135
136 Report bugs to
137 !!COPYRIGHT
138
139
140 Copyright 1999 Free Software Foundation, Inc.
141 This is free software; see the source for copying
142 conditions. There is NO warranty; not even for
143 MERCHANTABILITY or FITNESS FOR A PARTICULAR
144 PURPOSE.
145 !!SEE ALSO
146
147
148 The full documentation for __tail__ is maintained as a
149 Texinfo manual. If the __info__ and __tail__ programs
150 are properly installed at your site, the
151 command
152
153
154 __info tail__
155
156
157 should give you access to the complete manual.
158 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.