I am new to bash script. I am taking some input from user and checking details about that.
Example:
$HOME/Documents/test/one.txt
I take the above string as an input and want to retrieve one.txt
, I need to further proceed with one.txt
.
I am not putting up the whole question as I want to put inputs from my side.
I am stuck at this point and without splitting up the string, I will not be able to move ahead.