Monitor directory for file changes
Perform watching on a directory and show any changes to the directories or files, until we cancel it.
Note: Press CTRL+C to stop
inotifywait -m -r /etc
The inotifywait command allows for recursive watching a directory for changes and repeats until it is cancelled by the system administrator.
What do you think, was this useful?