Inotify is a powerful, fine-grained, asynchronous file system event monitoring mechanism. The Linux kernel has added Inotify support starting from 2.6.13. Through Inotify, you can monitor various details such as addition, deletion, modification, and movement in the file system. Events, using this kernel interface, third-party software can monitor various changes in files under the file system, and Inotify-tools is such a third-party software.
Address: http://gongfuxiang.com/post-92.html