Watching updates at the end of a file, with or without the tail utility
To tail a file means to keep it open and watch new lines that are appended to it by some other program.
tail
is a classic Unix text processing utility which displays the last few lines of a file. It introduced “follow mode”, where the file is kept open and the utility prints new lines as they appear.
Use this tag when tailing files, regardless of whether you are using the tail
utility itself. A question about using tail
which isn't about follow mode should probably use the text-processing tag. Not to be confused with the Tails operating system tails-os. For monitoring of changes to files in general, see monitoring.
Common tailing utilities
tail -f
(the original)F
command in the less pager- mulitail to watch multiple files
- Wikipedia list of tail utilities