Suppose I have a folder:cd /home/cpm135/public_htmland make a symbolic linkln -s /var/lib/class .Later, I'm in that directory:cd /home/cpm135/public_html/classThe pwd is going to tell me I'm in /home/cpm135/public_html/classIs there any way to know that I'm really in /var/lib/class ?  Thanks 
How to tell if I'm actually in a symlink location from command line?
shell;symlink;cd command;working directory
Depending on how your pwd command is configured, it may default to showing the logical working directory (output by pwd -L) which would show the symlink location, or the physical working directory (output by pwd -P) which ignores the symlink and shows the real directory.For complete information you can dofile $(pwd -L)Inside a symlink, this will return/path/of/symlink: symbolic link to /path/of/real/directory