How can I remove the first line of a text file using bash/sed script? September 3, 2022 by admin Delete first line of a large file. Install Cygwin for windows. tail -n +2 "$FILE" > "$FILE2"