I have a my-variable-here environment variable, e.g.
I want to get the text between the equal sign and the 2nd second slash. So in my example above, I want to get the text "/var". How do I do it?
Thanks very much.
Code:
my-variable-here=/var/log/test
Thanks very much.