TAIL(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’– NAME πŸ’–

okay so bestie, welcome to TAIL(1) β€” the page from the General Commands Manual. tail prints the last 10 lines of each FILE to standard output. If you give it more than one FILE, it puts a header with the file name before each one. If you give it no FILE, or when FILE is -, it reads standard input. And yeah: mandatory arguments to long options are mandatory for short options too. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

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

✨ DESCRIPTION ✨

tail prints the last 10 lines of each FILE to standard output. With more than one FILE, each one gets a header giving the file name before it. With no FILE, or when FILE is -, it reads standard input. 🫢

Mandatory arguments to long options are mandatory for short options too. No cap.

πŸŽ€ OPTIONS πŸŽ€

  • -c, --bytes β€” Number of bytes to print.
  • -f, --follow β€” Print the file as it grows. Possible values:
    • descriptor
    • name
  • -n, --lines β€” Number of lines to print.
  • --pid <PID> β€” With -f, terminate after process ID PID dies.
  • -q, --quiet β€” Never output headers giving file names.
  • -s, --sleep-interval <N> β€” Number of seconds to sleep between polling the file when running with -f.
  • --max-unchanged-stats <N> β€” Reopen a FILE which has not changed size after N (default 5) iterations to see if it has been unlinked or renamed (this is the usual case of rotated log files); This option is meaningful only when polling (i.e., with --use-polling) and when --follow=name.
  • -v, --verbose β€” Always output headers giving file names.
  • -z, --zero-terminated β€” Line delimiter is NUL, not newline.
  • --use-polling β€” Disable inotify support and use polling instead.
  • --retry β€” Keep trying to open a file if it is inaccessible.
  • -F β€” Same as --follow=name --retry.
  • --debug β€” Indicate which --follow implementation is used.
  • -h, --help β€” Print help.
  • -V, --version β€” Print version.
  • [files] β€” The FILE arguments go here, bestie.

πŸ‘‘ VERSION πŸ‘‘

v(uutils coreutils) 0.12.0

xoxo bestie πŸ’– β€” source/version v(uutils coreutils) 0.12.0, dated 2026-09-17 🌈

πŸ“¦ where this page comes from