Main index | Section 1 | 日本語 | Deutsch | Options |
The display begins at a byte, line or 512-byte block location in the input. Numbers having a leading plus (‘+’) sign are relative to the beginning of the input, for example, "-c +2" starts the display at the second byte of the input. Numbers having a leading minus (‘-’) sign or no explicit sign are relative to the end of the input, for example, "-n 2" displays the last two lines of the input. The default starting location is "-n 10", or the last 10 lines of the input.
The options are as follows:
| |
The location is number 512-byte blocks. | |
| |
The location is number bytes. | |
| |
The
| |
| |
The
If the file being followed does not (yet) exist or if it is removed, tail will keep looking and will display the file from the beginning if and when it is created.
The
| |
| |
The location is number lines. | |
| |
Suppresses printing of headers when multiple files are being examined. | |
| |
The
| |
If more than a single file is specified, each file is preceded by a
header consisting of the string
"==> XXX<=="
where
XXX
is the name of the file unless
$ tail -n 500 foo
Keep /var/log/messages open, displaying to the standard output anything appended to the file:
$ tail -F /var/log/messages
The historic command line syntax of
tail
is supported by this implementation.
The only difference between this implementation and historic versions
of
tail,
once the command line syntax translation has been done, is that the
TAIL (1) | March 22, 2020 |
Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | A UNIX saleslady, Lenore, Enjoys work, but she likes the beach more. She found a good way To combine work and play: She sells C shells by the seashore. |
” |