Consider:$ pwd/home/user$ ls -ltotal 3604lrwxrwxrwx 1 user user  19 Nov 27 12:11 pages -> /var/www/pages/$ cd pages$ pwd/home/user/pages$ readlink -f ./var/www/pages$ cd ..$ readlink -f ./home/user$ When I'm in /var/www/pages I would like to go up to /var/www however running cd .. brings me to /home/user. Obviously this is due to having gotten to /var/www/pages via a symlink. How can I cd up one directory when I'm in a symlink?
`cd` up the canonical path
shell;symlink;cd command
cd -P ..You should read more preciscly manual ;-)