Answers for "shell substring last characters"

1

shell substring last characters

echo -n $str | tail -c 1
# gets the last character, increase number to get more characters
Posted by: Guest on November-30-2020

Code answers related to "shell substring last characters"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language