title: How to get event of file created/copy in a folder in CentOS?
body: <p>I need to write a script in CentOS, which will run in background.
  This script need to check whether a file name "status.txt" has been created in /root/MyFile folder on not. If that file is created, an event should be captured by my script.</p>
  
  <p>What code snippet I should write in my script, so that it gets event that the txt file has been created in a folder?</p>
  
  <p>Any help is greatly appreciated.</p>