I need to split the file path/directory and use it as an argument using shell script.
I have a file path: /home/ubuntu/testscriptsfolder/jmx/*.jmx
and need to get only *.jmx
in my variable so that I can pass it as an argument in one of my run commands.
Please suggest how it is achievable in shell script.