Linux Terminal Glossary
›
File Viewing & Editing
tail -n 20 file.txt
Category:
File Viewing & Editing
tail -n 20 file.txt
Copy command
Print the last 20 lines of a file
Prints the last 20 lines of a file. Change the number as needed.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.