From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 08:18:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 538F916A4CE for ; Fri, 9 Jan 2004 08:18:27 -0800 (PST) Received: from tomts20-srv.bellnexxia.net (tomts20-srv.bellnexxia.net [209.226.175.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EEE843D48 for ; Fri, 9 Jan 2004 08:18:26 -0800 (PST) (envelope-from dlavigne6@sympatico.ca) Received: from genisis ([64.230.164.184]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040109161824.QBQC20179.tomts20-srv.bellnexxia.net@genisis>; Fri, 9 Jan 2004 11:18:24 -0500 Date: Fri, 9 Jan 2004 11:20:50 -0500 (EST) From: Dru X-X-Sender: dlavigne6@genisis.domain.org To: Dan Nelson In-Reply-To: <20040109161259.GC4168@dan.emsphone.com> Message-ID: <20040109112034.I610@genisis.domain.org> References: <20040109110400.G610@genisis.domain.org> <20040109161259.GC4168@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: removing the first 10 lines of a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 16:18:27 -0000 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