Here is a case. I have a directory call: -% / Home / MyName /
I made a soft link in this directory:% cd / home / myname /% ln -s / home / others /.
Now I connect to others / from / home / myname / Here is the interesting part.
When I made a built-in command pwdfor unix, I get the path name ORIGINAL: -% / Home / other /
But when I return the $ PWD environment variable, I get the path name:% / Home / MyName / others /
Why is this so?
source
share