How to find out what created a file

From: Björn Lindström (bkhl_at_elektrubadur.se)
Date: 05/02/04

  • Next message: haig_at_sylac.de: "missing libncurses.so.5 and other lib*"
    To: freebsd-newbies@freebsd.org
    Date: Sun, 02 May 2004 13:56:53 +0200
    
    

    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/
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: haig_at_sylac.de: "missing libncurses.so.5 and other lib*"

    Relevant Pages

    • OT: welcome back (was Re: Running app full-screen)
      ... On 10/13/2008 09:04 PM, Douglas A. Tutty wrote: ... will accept a --geometry setting on the command line. ... there's a file in your home directory that ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • How to find out what created a file
      ... I've recently rented a jailed FreeBSD system, ... this file is created in my home directory: ... To find out where this happens, how could I monitor this file name for ... to find out what command is creating it? ...
      (comp.unix.bsd.freebsd.misc)
    • Re: rsync issue
      ... my home directory into another machine with the --delete option, ... I dont't want hidden files, ... I know you can tell the 'find' command to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: How to Begin - fdisk
      ... I get 'command not found'. ... add this line in the .bashrc file in the home directory ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: variables
      ... CMDEXTVERSION System returns the version number of the current Command Processor Extensions. ... HOMEDRIVE System returns which local workstation drive letter is connected to the user's home directory. ... NUMBER_OF_PROCESSORS System specifies the number of processors installed on the computer. ... TEMP or TMP System and User return the default temporary directories for applications that are available to users who are currently logged on. ...
      (microsoft.public.windows.server.sbs)