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