tail
Print the last lines of files.
Syntax
$tail [options] [file]
Optionen
-f
-F
-n
-c
Examples
Examples
$tail logfile.txt
Examples
$tail -f /var/log/syslog
Examples
$tail -n 50 logfile.txt
Examples
$tail -F logfile.txt
Alternatives
Typical use cases
tail -n 50 logfile.txt
tail -f /var/log/syslog
tail -F logfile.txt
Note
Use -f to follow growing log files in real time.
Export