LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [OT] digital unix...

[ILUG] [OT] digital unix...

Justin Mason jm at jmason.org
Fri May 25 13:09:26 IST 2001


kevin lyda said:

> oh i just don't understand this one.  this makes no sense whatsoever.
> 
> here i am on a tru65 5.1 system.  and i'm in zsh.  i type the following:
> 
>     tru64% pwd
>     /u/kevin
>     tru64% echo $PWD
>     /u/kevin
>     tru64% which pwd
>     builtin
>     tru64% sh
>     tru64# pwd
>     /kevin
>     tru64# /usr/bin/pwd
>     /kevin
>     tru64# echo $PWD
>     /u/kevin
>     tru64# exit
>     tru64% /usr/bin/pwd
>     /kevin
> 
> at no point do i change directories.  this makes no sense.  and it worked
> fine up until today.  why, why, why????

Maybe zsh exports $PWD, and /bin/sh doesn't set it. Hence the echo $PWD in
sh echos the $PWD set by zsh.

Is /kevin a symlink to /u/kevin?

--j.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell