I want to implement a userland command that will take one of its arguments (path) and change the directory to that dir. After the program completion I would like the shell t
cd is exclusively(?) implemented as a shell internal command, because any external program cannot change parent shell's CWD.
cd