How do I print last 20 lines in Linux?

How do I print last 20 lines in Linux?
Answer
To display last 20 lines of a file linux
use the tail command. Displays the last 20 lines. The default is 10 if you leave out the -n option. Displays the last 100 bytes of the file ( without reguard for the lines).
 

Tìm kiếm

Back
Top