Hello everyone , this would be a very very simple question but for some reason i am not getting it , i have a variable look like this $a=/export/home/test/great I want to exclude the last /great out of it and put it back in the same varibale so $a=/export/home/test/great so is there a way to do that please do let me know
thanks