Inotifywait tool in no there in Redhat 5.6

Hi,

I want to monitor any new file to be created in some of the directory using inotifywait tool but this is not available in Redhat 5.6.

Could you please let me know how to achieve (monitoring of file) without using inotifywait too? Because i dnt want to install this tool due to some reason.

I want to achieve this task in some other way without installing any other component.

Please advise.

Thanks & Regards,
Pawan

Download the right RPM and install: inotify-tools-3.14-1.el5.x86_64.rpm CentOS 5 (RHEL 5) Download