diff options
| author | Joel Dahl <joel@FreeBSD.org> | 2013-03-16 22:53:38 +0000 |
|---|---|---|
| committer | Joel Dahl <joel@FreeBSD.org> | 2013-03-16 22:53:38 +0000 |
| commit | b16958a1003832503a24a5cb9bdaf33021a833f6 (patch) | |
| tree | 1d7056ea05a6eeb491f12458285437b83325fab2 /usr.bin/tail | |
| parent | 3f23d3ca9fe9521212fc867a7de0d66cb1f2530b (diff) | |
Notes
Diffstat (limited to 'usr.bin/tail')
| -rw-r--r-- | usr.bin/tail/tail.1 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1 index d4ec2f9ad457..4779bc17407a 100644 --- a/usr.bin/tail/tail.1 +++ b/usr.bin/tail/tail.1 @@ -31,7 +31,7 @@ .\" @(#)tail.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd June 5, 2009 +.Dd March 16, 2013 .Dt TAIL 1 .Os .Sh NAME @@ -147,6 +147,17 @@ is the name of the file unless flag is specified. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +To display the last 500 lines of the file +.Ar foo : +.Pp +.Dl $ tail -n 500 foo +.Pp +Keep +.Pa /var/log/messages +open, displaying to the standard output anything appended to the file: +.Pp +.Dl $ tail -f /var/log/messages .Sh SEE ALSO .Xr cat 1 , .Xr head 1 , |
