tail Command Examples

Display the last part of a file. See also: head. More information: https://www.gnu.org/software/coreutils/tail.

tail --lines {{count}} {{path/to/file}}

tail --lines +{{count}} {{path/to/file}}

tail --bytes {{count}} {{path/to/file}}

tail --follow {{path/to/file}}

tail --retry --follow {{path/to/file}}

tail --lines {{count}} --sleep-interval {{seconds}} --follow {{path/to/file}}