|
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
[Prev in Thread] | Current Thread | [Next in Thread] |