Install inotify-tools by entering the following commands in the terminal:
sudo apt update sudo apt install inotify-tools
Description:
command-line programs providing a simple interface to inotify
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.
Homepage: https://github.com/rvoicilas/inotify-tools/wiki/
Version: 3.14-2
Section: universe/misc