If the first character of N (the number of bytes or lines) is a ‘+’, print beginning with the Nth item from the start of each file, otherwise, print the last N items in the file. N may have a multiplier suf-
fix: b 512, k 1024, m 1024*1024.

above documentation is cryptic

+ <value> print all lines starting from <value>th line
- <value> print the last <value> lines

eg: if value=3
tail +3 <filename> print all lines starting from 3rd line
tail -3 <filename> prints last 3 lines


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to