I have a relatively large log file (46M) on a vServer, of which I'm only interested in the most recent part.
How can I download only the last 10% of the file?
The server is running Debian and I'm using Ubuntu locally.
First get the size of the remote file in bytes:
Calculate 10% of that number, and copy the last ten percent: