From: suresh Date: 2008-06-04T18:59:12+09:00 Subject: Re: deleting first line from a file On Jun 4, 1:48 am, Chris Shea wrote: > On Jun 3, 1:59 pm, suresh wrote: > > > Hi > > > I have a HUGE data file multiple lines of data. I want to delete just > > the first line from it. How to do it efficiently? > > > thanks > > suresh > > Would this work for you? > > tail -n +2 original.file > modified.file > > HTH, > Chris Hi BTW is there any equivalent method equivalent to linux tail in ruby? suresh