CmdWiz

7 Streak
Back to vault
Logs

Tail Follow

tail -f /var/log/syslog

Functional Description

Outputs the last lines of a file and continues to print appended lines as they arrive in real time.

CategoryLinux
Difficultybeginner

Execution Recipes

Follow Log
tail -f /var/log/syslog

Keeps the terminal attached to the file and streams new entries.

Last 100 Lines
tail -n 100 access.log

Prints exactly the last 100 lines and exits.

Official Documentation

View the technical reference