Unix/Linux Go Back    



delete first 100 lines from a file

Solaris




Kindly Note - This is a Single User Post by Forum Member Yogesh Sawant Regarding:
delete first 100 lines from a file.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 11-15-2007   -   Original Discussion by salaathi
Yogesh Sawant's Unix or Linux Image
Yogesh Sawant Yogesh Sawant is offline Forum Advisor  
Full Time Dad
 
Join Date: Sep 2006
Last Activity: 2 November 2017, 5:48 AM EDT
Location: Rossem, Tazenda
Posts: 1,213
Thanks: 7
Thanked 18 Times in 17 Posts

Code:
sed '1,100d' filename > newfile

sed would be faster than tail in my opinion