When I try to find the current working directory at a linux command prompt (using "pwd"), it will show the directory with symbolic links included. For example, if I make a symbolic link and use it to visit that directory:
ln -s /mnt/backup /home/biotech/backup
cd /home/biotech/backup
pwd
This will show "/home/biotech/backup" instead of "/mnt/backup". This happens on both Ubuntu and Cygwin.
What command can I use to see the latter, the "real" directory?
Best Answer
perheps:
from help:
"-P : The pathname printed will not contain symbolic links. "