Tail
lastmod 2023-03-09created 2015-10-205 edits
tail lets you view or monitor the last part of a file.
Example
By default, prints the last 10 lines of the file to the screen:
Print the last 20 lines:
Print the last 200 bytes:
Monitor a log file in real time (exit with Ctrl-c):
Windows alternative
As a replacement for the tail command (-f), use cat filename.txt -Wait -Tail 1000 in PowerShell.