inotify_watch
Monitor file and directory changes on Linux by adding inotify kernel watches. Set target path, filter specific events, or watch recursively to enable real-time file activity alerts for system control.
Instructions
Add a Linux inotify kernel watch on a file or directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Target path. | |
| events | No | Event mask or comma-separated list. | all |
| recursive | No | Recursive watch flag. |