Which command should I use to display the last 11 lines of a file?

Which command should I use to display the last 11 lines of a file?
Answer
To look at the
last
few
lines of a file
,
use
the tail
command
. tail works the same way as head: type tail and the filename to
see the last
10
lines
of that
file
, or type tail -number filename to
see the last
number
lines
of the
file
.
 

Tìm kiếm

Back
Top