Here is How To Install Inotify-tools on Ubuntu 18.04 with the step-by-step instructions provided on this page.
What are Inotify-tools?
Inotify-tools is a set of command-line programs for Linux providing a simple interface to Inotify. These programs can be used to monitor and act upon filesystem events. Inotify-tools consists of two utilities: Inotifywait simply blocks for Inotify events, making it appropriate for use in shell scripts. . Inotifywatch collects filesystem usage statistics and outputs counts of each Inotify event.
How To Install Inotify-tools on Ubuntu?
To install Inotify-tools on Ubuntu use the following commands:
sudo apt update sudo apt install inotify-tools