How to run a shell script when a file or directory changes?

I want to run a shell script when a specific file or directory changes.

How can I easily do that?

60
задан kenorb 22 March 2018 в 23:22
поделиться