Skip to content
masterclass Buddy

Linux & Shell · Command

tail

tail outputs the end of one or more files. It normally prints the last 10 lines, and it can follow new data added to a file.

Last updated

Syntax

tail [OPTION]... [FILE]...

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • head(1)

Source: tail(1) - Linux manual page. Checked 2026-11-03.