Substring de shell Últimos caracteres
echo -n $str | tail -c 1
# gets the last character, increase number to get more characters
Defiant Dragonfly
echo -n $str | tail -c 1
# gets the last character, increase number to get more characters