[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SORTED] Re: 'ls' caching?



On Wed, 2004-12-22 at 16:02, Kirk Strauser wrote:
> On Wednesday 22 December 2004 06:37, michael wrote:
> 
> > Is there some caching going on for 'ls'?
> 
> Not in the sense you mean, no.
> 
> > See the example below where I deleted files in another window and then
> > re-exported from CVS, but the listing doesn't appear unless I cd out and
> > back in again.  
> 
> Are you sure that you hadn't deleted and then recreated the vcoord directory 
> (and not just its contents)?  If you cded into vcoord and then rm-rf'ed it 
> from another window, then you'd get the behavior you described.  Basically, 
> your pwd would effectively be a non-existent directory with no contents.  
> When you cd out of it and then back in, you're really changing from a 
> non-existent directory to one that exists.

aha - that's probably what's happening and makes sense. thanks!



Reply to: