Strange symbolic link behaviour?
Patrick O'Callaghan
pocallaghan at gmail.com
Tue Jul 5 04:24:15 UTC 2011
On Tue, 2011-07-05 at 13:59 +1000, Cameron Simpson wrote:
> ls is behaving correctly. Bash is presenting a ridiculous fiction to
> you via its "pwd" builtin, which lies. Try doing your test above
> again, and wherever you type "pwd", also run "/bin/pwd" immediately
> afterwards. Observe the difference: /bin/pwd tells you the truth and
> pwd tells you something easy to remember, but not the truth.
Or try:
pwd -P
(see "help pwd" from the Shell)
poc
More information about the users
mailing list