Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 11:20:50 -0500 (EST)
From:      Dru <dlavigne6@sympatico.ca>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        questions@freebsd.org
Subject:   Re: removing the first 10 lines of a file
Message-ID:  <20040109112034.I610@genisis.domain.org>
In-Reply-To: <20040109161259.GC4168@dan.emsphone.com>
References:  <20040109110400.G610@genisis.domain.org> <20040109161259.GC4168@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 9 Jan 2004, Dan Nelson wrote:

> In the last episode (Jan 09), Dru said:
> > I remember coming across a trick (which I can't find now) which
> > allowed you to page all of a file, except for the first 10 lines. I
> > think it used a combo of head and tail to achieve this. I can't just
> > use tail as the length of the file varies whereas the amount I don't
> > want to see doesn't.
>
> tail +11 myfile

Well, that was certainly easy enough! Thanks.

Dru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109112034.I610>