[pappy@chmodx]:$ man tail

$ tail

Output the end of files

DOCUMENTEDViewing filesUbuntu 24.04 LTS baseline

Synopsis

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

What it does

Examples

Show last 10 lines
tail file.log
Follow a growing log
tail -f /var/log/syslog
Show the last 50 lines
tail -n 50 file.log

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.