remove fiest line from file without opening code example Example: sed remove first line tail -n +2 "$FILE" > "$FILE.tmp" && mv "$FILE.tmp" "$FILE"