Skip to main content
Kill -9 Club
Sign in

tail

TextPackage: coreutils

The last lines of a file, and with -f the ones arriving as they come. For a systemd service, journalctl -f is the same thing without having to know the file's path.

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

tail -n
How many lines to print from the end.
tail -f
Follows the file and prints new lines as they arrive.

Lessons that teach it