Hi,

It seems that ../../ can not be resolved symbolically by ls. See the
following example. I'd like `ls ..` to print both a and b.
Unfortunately, it only print b because it thinks it is in /tmp/i/a/b
instead of /tmp/i/b. Is there a way to use symbolic pwd instead of abs
pwd? Thanks.

/tmp/i$ tree
.
├── a
│   └── b
└── b -> a/b/

/tmp/i$ cd b
/tmp/i/b$ ls -H ../
b
/tmp/i/b$ ls ../
b

-- 
Regards,
Peng

Reply via email to