From: Suraj Kurapati Date: 2008-06-05T04:22:23+09:00 Subject: Re: deleting first line from a file Chris Shea wrote: > On Jun 3, 1:59 pm, suresh wrote: >> 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? >> > tail -n +2 original.file > modified.file For the sake of trivia, sed (stream editor) also does the job: sed 1d original.file > modified.file # 1d means delete line 1 -- Posted via http://www.ruby-forum.com/.