Why doesn't “cd” work in a bash shell script?
stackoverflow.com