Skip to content

Glossary: Command Line for IT: Bash and PowerShell

tail

Also written: tail -n, tail -f, tail -F, tail -n +N

Prints the last lines of a file: tail -n +N starts at line N instead, and tail -f keeps printing new lines as they arrive. tail -F keeps following when a log is rotated.

Where the book teaches it

Related terms

headGet-Contentlogrotate