bash remove first two characters of string code example Example: bash remove first character from line sed 's/^.\{5\}//' logfile