how to remove part of the first line in bash code example Example: bash remove first character from line sed 's/^.\{5\}//' logfile