inotify is Linux specific if you want to use some of the portable UNIX features you are looking for, for example libfam. This is the name of the library. The full name of the package is files.
fileschanged is a GNU / Linux command line utility that reports that files have been modified.
source
share