On 2/5/13 10:23 PM, i336 wrote:
> Do:
>
> mkdir <test name here>
> cd <the above>
> mkdir -p dir1/dir2
> ln -s dir1/dir2 ouch
> touch idontexist
> ls # ^ to see dir & files & prove they really exist :P
> cd ouch
> ls ../ido<press tab>
>
> ...<and now press enter>
Filename completion uses whatever file system view -- logical or physical
-- that you have selected for bash. The default is a logical view. `ls',
on the other hand, doesn't know anything about that. This is not solvable
unless you decide to use a physical view consistently (set -o physical).
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/