Display the last few lines of a very large file
Posted
by gAMBOOKa
on Server Fault
See other posts from Server Fault
or by gAMBOOKa
Published on 2010-05-20T04:25:36Z
Indexed on
2010/05/20
4:31 UTC
Read the original article
Hit count: 211
linux
I've got a log file that's managed to bloat upto 150MB. Is there a way to read only the last say 100 lines of the file instead of the whole thing? I don't want to have to download a 150 MB file with my current connection. I'd rather SSH in and read the relevant parts.
© Server Fault or respective owner