title: how to find files written right now in linux?
body: <p>I need to find files written by some script at the current moment in linux. The script is working and writing to some log, txt, some other files, and i would like to find which files exactly are involved. Is it possible?</p>
  
  <p>I tried to do it with find, first by creating the file temp.cnewer with specific timestamp:</p>
  
  <pre><code>touch temp.cnewer -t 201012091145
  </code></pre>
  
  <p>and then by finding all files modified after it was created:</p>
  
  <pre><code>find / -type f -newer temp.cnewer
  </code></pre>
  
  <p>but it shows too many results. When i checked stat for few of them it shows that modification time is in the future time (don't know how it happen, system time is correct):...</p>
  
  <pre><code>Access: 2010-12-09 18:09:14.214730466 +0000
  Modify: 2010-12-09 18:09:14.214730466 +0000
  Change: 2010-12-09 18:09:14.214730466 +0000
  </code></pre>
  
  <p>Is there other way to select those files?</p>