[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tail -n N
From: |
jidanni |
Subject: |
tail -n N |
Date: |
Fri, 28 Dec 2007 02:45:59 +0800 |
man tail
-c, --bytes=N
output the last N bytes
-n, --lines=N
output the last N lines, instead of the last 10
say
-c N, --bytes=N
etc. just like grep(1).
P.S.,
For compatibility `tail' also supports an obsolete usage `tail
-COUNT[bcl][f] [FILE]', which is recognized only if it does not
conflict with the usage described above. COUNT is an optional decimal
number optionally followed by a size letter (`b', `c', `l') to mean
Mention it also doesn't work if more than one file is given:
$ tail -1 aa aaa
tail: invalid option -- 1
Try `tail --help' for more information.
$ tail -1 aa
Bla
$
Version: Changelog here on Debian goes up to
2006-06-12 Paul Eggert <address@hidden>