Display the end of a file.
Section: Viewing and Text Basics
Show last lines
bash
bash
tail -n 50 app.logExplanation
Often used on logs to inspect the latest events.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Viewing and Text Basics