1E2TAIL(1) User commands E2TAIL(1)
2
3
4
6 e2tail - a basic version of the tail command for an ext2 filesystem
7
9 e2tail [options] file
10
12 The e2tail(1) command implements a basic version of the tail(1) com‐
13 mand.
14
16 -n num_lines
17 The number of lines to display
18
19 -f Output appended data as the file grows. This is inode depen‐
20 dent, so if the file is renamed, it will keep checking it.
21
22 -F Output appended data as the file grows. This is file name
23 dependent, so if the file is renamed, it will check on any new
24 files with the same name as the original. This is useful for
25 watching log files that may be rotated out occasionally. This
26 was requested by a person in the computer security field for
27 monitoring 'honeypot' type machines.
28
29 -s sleep_interval
30 The number of seconds to sleep before checking if the file has
31 grown while in 'follow' mode. The default is 1.
32
34 Check `/var/log/messages` on `/dev/sdc1` every 10 seconds
35
36 e2tail -s 10 -F /dev/sdc1:/var/log/messages
37
39 e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2rm(1), e2mv(1).
40
42 The e2tools were written by Keith Sheffield <sheff@pobox.com>.
43
44 This manual page was written by Lucas Wall <lwall@debian.org>, for the
45 Debian project (but may be used by others).
46
47
48
49Linux 2020-02-05 E2TAIL(1)