On Thu, Feb 24, 2000 at 02:53:11PM -0000, Anton Ivanov wrote:
> Try the following:
>
> mkdir -p /tmp/crap/crap1 ; ln -s /tmp/crap /tmp/crap2 ; cd /tmp/crap2/crap1 ;
> pwd
>
> on linux it returns /tmp/crap2/crap1
> on solaris it returns /tmp/crap/crap1
I think you're fooled by bash on Linux. pwd is built-in
and uses $PWD. cd commands usually update $PWD in bash.
Everything is configurable of course but try /bin/pwd instead.
-- Frank- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:10 EST