Is it possible to set up a symbolic link such that cd called on the link redirects to the linked path? Kind of like this:$ ln /A/B /B/C$ cd /A/B$ pwd/B/C$
Use a symbolic link to redirect?
symlink;cd command
If you're using bash, zsh or any POSIX shell, thencd -Ppwd -Por to make it permanent.in bash: set -P or set -o physicalin zsh: set -w or set -o chaselinksin other POSIX shells: alias cd='cd -P'in tcsh: set symlinks = chaseBut the effect you're seeing is created by the shell, not by the link itself.  So the answer to your actual question is no.