Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2004 13:56:53 +0200
From:      bkhl@elektrubadur.se (=?iso-8859-1?q?Bj=F6rn_Lindstr=F6m?=)
To:        freebsd-newbies@freebsd.org
Subject:   How to find out what created a file
Message-ID:  <s387jvvoxdm.fsf@numerus.ling.uu.se>

next in thread | raw e-mail | index | archive | help
I've recently rented a jailed FreeBSD system, and have this little
problem:

Now and then, this file is created in my home directory:

-rw-r--r--  1 root users 6 May  1 20:20 /home/bkhl/-

The contents of the file is the string "xyzzy\n".

Now I never say "xyzzy", so I'm pretty sure I haven't set this up by
mistake.

To find out where this happens, how could I monitor this file name for
activity, to find out what command is creating it?

-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s387jvvoxdm.fsf>