[ILUG] Who has been eating my file?
ilug at ken.guest.cx
Thu Mar 22 14:20:18 GMT 2007
On Thu, Mar 22, 2007 at 02:00:12PM +0000, Timothy Murphy wrote:
> Is there any simple way of watching a given file
> to see what program is altering it?
> (Someone - or something - is editing
> on my Fedora 6 system.)
I was going to suggest
$fuser -vu file
but that only identifies what process is altering the file at that given
moment. inotify should do the trick
Irish Linux Users' Group webmaster, www.linux.ie
Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/
More information about the ILUG