bash remove first line 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"
Example 3: bash remove first character from line
sed 's/^.\{5\}//' logfile