awk ‘NR%3 != 0’ filename in the same way, change 3 as 2 to remove 2nd line from the file
Remove every third line from a file – Shell Programming and Scripting – The UNIX and Linux Forums
awk ‘NR%3 != 0’ filename in the same way, change 3 as 2 to remove 2nd line from the file
Remove every third line from a file – Shell Programming and Scripting – The UNIX and Linux Forums