Re: reading the end of file
Francesco Pietra wrote:
> Hi:
>
> Is any command faster than
>
> cat filename
>
> to reach and print on screen the last page of the file?
>
Define 'page'.
Anyway, the command you want is 'tail'. By default it prints the last 10
lines, but this can be changed, see the man page.
> The question (i hope) is not outside amd64
As a matter of fact it is not amd64-specific, debian-user would have
been more appropriate.
> as such large files as 10GB
> can only result from computations at 64 bit.
>
As long as the filesystem supports, it's trivial to create a 10GB file
even on 32-bit systems. But I digress.
--
The New England Journal of Medicine reports that 9 out of 10 doctors agree
that 1 out of 10 doctors is an idiot.
Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
Reply to: