Is for questions about cd built-in bash command (e.g. how it works).
cd command change the current shell working directory.
SYNOPSIS:
cd [-L|-P] [dir]
cd change the current directory to dir (new directory). The default dir value is $HOME (HOME shell variable).
Options:
-L force symbolic links to be followed
-P use the physical directory structure without following symbolic
The default is to follow symbolic links, as if -L were specified.