Shell-script: substrings Posted on 16 de febrero de 2008 by bisente You can work with substrings in bash using the following syntax: ${VARIABLE:START:LENGTH} Like in: $ A=abcdefghi $ echo ${A:3:2} de