I've been trying to delete the second and third lines from about 50 text files.
I need to keep the headers but delete lines "1" and "2", meaning I need to delete the second and third lines of each text file. I have been trying to use:
sed -i.bak '2,3d' *.txt
But in only deletes the lines from the first file in the folder. How can I get this to apply to all the files in the folder?