simple script to watch for file changes on Linux

simple script to watch for file changes on Linux
Its a pretty common exercise in Linux/Unix shell programming to monitor a particular folder for file changes, typically the addiiton or change of a file. There’s a variety fo ways to do it , the more common approach is to use. In Linux, we can use the inotify interface to monitor a directory or a file. We do this ...