tail

version: 0.0.9
tail [FLAG]... [FILE]...

Print the last 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

Mandatory arguments to long flags are mandatory for short flags too.

Options

--help, -h

Print help information

--version, -V

Print version information

--bytes, -c

Number of bytes to print

--follow, -f

Print the file as it grows

--lines, -n

Number of lines to print

--pid

with -f, terminate after process ID, PID dies

--quiet, --silent, -q

never output headers giving file names

--sleep-interval, -s

Number or seconds to sleep between polling the file when running with -f

--verbose, -v

always output headers giving file names

--zero-terminated, -z

Line delimiter is NUL, not newline