Hi!
I have read that I can use inotify on linux, using c language, to monitor file systems. However, I am unsure how I would implement such a system. I looked up websites but it did not really help. I was wondering if someone can just show me how to mointor a text file. Let's say if the content of the file is modified, I should see a message in the main infinite loop.
Thanks very much for any help that can be provided.