I have a string that looks like this:
hello/my/name/is/lebowski
I need to extract the part of the string after the last /
(lebowski
in this case). I need to do this is Bash. How do I achieve this? I could do this in Java or Python using regex functionalities, but I don't know how to the same through Bash commands.
Any help would be appreciated. Thanks!