Ostatnie znaki podkładu powłoki
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