bash remove first row from file code example
Example 1: sed remove first line
tail -n +2 "$FILE" > "$FILE.tmp" && mv "$FILE.tmp" "$FILE"
Example 2: How can I remove the first line of a text file using bash/sed script?
tail -n +2 "$FILE"
tail -n +2 "$FILE" > "$FILE.tmp" && mv "$FILE.tmp" "$FILE"
tail -n +2 "$FILE"