Unix/Linux Go Back    

delete first 100 lines from a file


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

Old Unix and Linux 06-09-2009   -   Original Discussion by salaathi
Franklin52's Unix or Linux Image
Franklin52 Franklin52 is offline
Registered User
Join Date: Feb 2007
Last Activity: 14 October 2017, 3:52 AM EDT
Location: The Netherlands
Posts: 7,746
Thanks: 139
Thanked 558 Times in 520 Posts
Originally Posted by a2156z View Post
sed -e "s/^SG//d"
Should be:

sed "/^SG/d" file