I have this folder:/var/www/vhosts/foothat I need to access often. If I do (I'm root):ln -s /var/www/vhosts/foo/cd foopwd tells me /root/fooWhat can I do to really go into the folder /var/www/vhosts/foo. I know that every action on /root/foo goes to /var/www/vhosts/foo, but what can I do so that pwd will tell me /var/www/vhosts/foo?
How to link a folder to create a shortcut
directory;symlink;cd command
Use cd -P  According to the POSIX spec,-P  Handle the operand dot-dot physically; symbolic link components shall be   resolved before dot-dot components are processed (see step 7. in the   DESCRIPTION).