Re: Program to show just last few lines?



ray <ray@xxxxxxxxxx> wrote in
news:pan.2006.06.27.14.44.18.584491@xxxxxxxxxx:

On Tue, 27 Jun 2006 03:59:06 +0000, x0054 wrote:

Is there a program that would just print last few lines of a file. I
guess this could be done with sed or something like that, but I was
wondering if there is a program that would actually read the file
from the back and just print last x amount of lines, so that I would
not have to load the entire file into memory.

Thank you,

- Bogdan

tail


Awesome, tail works grate. Kind of obvious name I guess :)

Thank you,

- Bogdan
.



Relevant Pages

  • Re: Explain about Sting Rays
    ... The barb is part way out the tail rather than at the base. ... If you step on the ray, he arches, bringing his ... That is, however, how most stingray injuries occur. ...
    (rec.scuba)
  • Re: cats meow
    ... Get your foot off the cat's tail! ... Steve C. Ray ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Explain about Sting Rays
    ... The barb is part way out the tail rather than at the base. ... If you step on the ray, he arches, bringing his tail up and forward, driving the barb into whatever is directly above him. ... Like when you pass a ray from above and behind, his engaged barb will hit from below right through your abdomen, into the heart. ...
    (rec.scuba)
  • Re: Joshs Idiocy
    ... That's Dumbo chasing his own tail. ... Ray ... Prev by Date: ...
    (misc.writing)
  • Re: CAS, Lambda Calculus, Continuation and Functional Programming
    ... > that catch exceptions must unwind the exception catching machinery, ... > tail call anymore. ... it can eliminate destructors whose purpose is to free memory. ... stack frame of the callee might be of different size than the stack ...
    (sci.math.symbolic)