Introduction
Introduction Statistics Contact Development Disclaimer Help
tail.1 - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
tail.1 (890B)
---
1 .Dd October 8, 2015
2 .Dt TAIL 1
3 .Os sbase
4 .Sh NAME
5 .Nm tail
6 .Nd display final lines of files
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl f
10 .Op Fl c Ar num | Fl m Ar num | Fl n Ar num | Fl Ns Ar num
11 .Op Ar file ...
12 .Sh DESCRIPTION
13 .Nm
14 writes the last 10 lines of each
15 .Ar file
16 to stdout.
17 If no
18 .Ar file
19 is given,
20 .Nm
21 reads from stdin.
22 .Sh OPTIONS
23 .Bl -tag -width Ds
24 .It Fl c Ar num | Fl m Ar num | Fl n Ar num | Fl Ns Ar num
25 Display final
26 .Ar num
27 bytes | characters | lines | lines.
28 If
29 .Ar num
30 begins with '+'
31 it is an offset from the beginning of each
32 .Ar file .
33 If
34 .Ar num
35 begins with '-' it is as if no sign was given.
36 The default is 10 lines.
37 .It Fl f
38 If one
39 .Ar file
40 is specified, append lines to output as
41 .Ar file
42 grows.
43 .El
44 .Sh SEE ALSO
45 .Xr head 1
46 .Sh STANDARDS
47 The
48 .Nm
49 utility is compliant with the
50 .St -p1003.1-2013
51 specification.
52 .Pp
53 The
54 .Op Fl Ns Ar num
55 syntax is an extension to that specification.
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.