For example, with the string
a_link_list_java, use the
_ character to separate the string in half would result in:
list_java would result in:
I want to take these two parts and store them into two variables.
I tried the
cut command but it only works for only one character shown in the string
How can I accomplish this in a bash shell script?