A basic version of the tail command for an ext2 filesystem
e2tail [options] file
The e2tail command implements a basic version of the tail command.
-n num_lines
The number of lines to display
-f
Output appended data as the file grows. This is inode dependent, so if the file is renamed, it will keep checking it.
-F
Output appended data as the file grows. This is file name dependent, so if the file is renamed, it will check on any new files with the same name as the original. This is useful for watching log files that may be rotated out occasionally. This was requested by a person in the computer security field for monitoring 'honeypot' type machines.
-s sleep_interval
The number of seconds to sleep before checking if the file has grown while in 'follow' mode. The default is 1.
The e2tools were written by Keith Sheffield <[email protected]>.
This manual page was written by Lucas Wall <[email protected]>, for the Debian project (but may be used by others).