On Fri, Jul 24, 2009 at 12:37:51AM -0500, Ron Johnson wrote:
On 2009-07-23 01:45, Ekkard Gerlach wrote:
* Francesco Pietra schrieb:
Hi:
Is any command faster than
cat filename
to reach and print on screen the last page of the file?
what kind of file? tail -n 10 filename
makes output
* Francesco Pietra schrieb:
Hi:
Is any command faster than
cat filename
to reach and print on screen the last page of the file?
what kind of file?
tail -n 10 filename
makes output of last 10 lines of a file. But if there are no
linefeeds/ carriage return in the files, the it makes
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)
3 matches
Mail list logo