coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How tail works on a large file?


From: Peng Yu
Subject: How tail works on a large file?
Date: Sat, 22 Aug 2020 05:45:06 -0500

Hi,

I tried to tail a large file (2.8GB) to get is last 10 lines. It runs very fast.

How is this achieved? Does tail do it differently between a file
(random disk access) and a pipe (sequential disk access)? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]