Show last 'num' lines in 'file' and refresh every 'n' seconds

tail

  • Display the last part of a file.
    See also: `head`.
    More information: <https://www.gnu.org/software/coreutils/tail>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install tail on any operating system with command-not-found.com