Re: quick confirmation
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 05/28/04
- Next message: Barry Margolin: "Re: how to search files by pattern?"
- Previous message: Barry Margolin: "Re: Unix without shell"
- In reply to: Abhinav: "quick confirmation"
- Next in thread: Icarus Sparry: "Re: quick confirmation"
- Reply: Icarus Sparry: "Re: quick confirmation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 17:34:48 -0400
In article <J7Ltc.17$qk1.203@news.oracle.com>,
Abhinav <matrix_calling@yahoo.dot.com> wrote:
> Hi
>
> Just wanted anyone here to confirm the following related to Linux/Unix
> file(systems)
>
>
> I have a directory (lets say "abc" ) having a lot of
> subdirectories/files within it.
>
> I want to be able to know whether abc was used, i.e, any of the
> files/directories under it were modified/created/deleted.
>
> 1. I can do "ls -ldu abc" and get the access time .
Correct.
> 2. If i do a "cat abc/subdir/x.txt" , the access time for abc is also
> updated.
Correct. Anything that reads the names in a directory will update the
directory's access time.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Next message: Barry Margolin: "Re: how to search files by pattern?"
- Previous message: Barry Margolin: "Re: Unix without shell"
- In reply to: Abhinav: "quick confirmation"
- Next in thread: Icarus Sparry: "Re: quick confirmation"
- Reply: Icarus Sparry: "Re: quick confirmation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]