`cd` only affects the _current_ shell and its descendants. Shell scripts are run in new shell processes, so a `cd` in a script affects only the remainder of the execution of the script, and any programs it runs.
* If you put commands like `pwd` and `ls` _into the script,_ after the `cd`, you’ll see that the `cd` has succeeded _in the script._
* If you say `**.** ./Test.sh`, your current (main) shell process will read `Test.sh` and execute the commands therein. Then you’ll see that your current (main) shell process will be in the new directory.