How to remove last 7 lines from the csv file using unix commands.
For example -
abc
bffkms
slds
Row started 1
Row started 2
Row started 3
Row started 4
Row started 5
Row started 6
Row started 7
I want to delete the last 7 lines from above file. Please suggest.