You can&#x27;t change the environment of the parent process, including CWD. `&#x2F;bin&#x2F;cd` would either be another process like all executables run by the shell, and not work, or special cased, at which point why make it an executable at all?