Hi there,
Want a help. I have a file with 10,000 lines.Want to delete first 50,000 lines thru script.What will be the comand.
Thanks
Satadru
Hi there,
Want a help. I have a file with 10,000 lines.Want to delete first 50,000 lines thru script.What will be the comand.
Thanks
Satadru
$ sed '1,50000d' file
Another way :
$ tail +5001 file > new_file
Jean-Pierre.
Thanks everyone for your help.