You are not logged in.

#1 2012-08-06 16:44:38

From: Chile
Registered: 2007-07-03
Posts: 137

shell (ksh) resolves a middle link(directory) in pwd to it's absolute

the relevant file-hierarchy is

~/stup/spamer -> ~/codigo/spamer

entering my project through the link (~/stup/spamer) I verify my pwd:

in ksh the builtin `pwd` produces the fictitious hierarchy (aka., logical) created with links  (I'm fine with that)
I know that behaviour can be changed with -P or -L flags...

But when I do:

~/stup/spamer(link)$ ls ..


~/stup/spamer(link)$ echo ../*

I get the listing of the absolute path, in other words, the listing of the 'codigo' directory,
not the 'stup' directory (that's what I want)

Is this a fixed behaviour or can this be changed to follow the logical hierarchy?

Thanks in advance for any answer...

Last edited by elgatofelix (2012-08-16 14:28:23)

Are u listening?


Board footer

Powered by FluxBB