Hi,
I'm having problems with a bash script I wrote and have never been able to figure this part out.
Whenever I put a cd <somedir> into a bash script it will change to that dir for the duration of the script. But, when the script is done executing I'm back in the same dir I was when I executed the script.
I assume then that there is some specific command that you need to use in order to make the change stick, I just have never been able to find it.
Any help would be appreciated. Thanks!