remove first x amount of characters in a console output using sh script code example Example: bash remove first character from line sed 's/^.\{5\}//' logfile