remove fir 20 characters from a line code example Example: bash remove first character from line sed 's/^.\{5\}//' logfile