multitail - watch output sent to a file
multitail [ -E ] [ -e ] filename
multitail opens the named file for reading, and outputs data appended to
the file as it grows. If a new file is put in place of the original filename,
the original file is closed and the file is reopened.
- -E
- Seek to the end of file before producing any output from the original
file. This is the default.
- -e
- Do not seek to the end of file before producing any output. This will
cause the entire file to be output.
This program is useful for watching output written to the current log
file produced by multitail.
multitail is very similar to GNU tail. An equivalent
command would be:
tail -n -0 --follow=name FILENAME
multitail can't count lines or bytes from the beginning or end of the
file. If you need these features, download and install GNU textutils.