termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Run a command when a file is accessed
inotifywait
Waits for changes to one or more files.
More information: <https://manned.org/inotifywait>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
inotifywait --event {{access}} {{path/to/file}} && {{command}}
click the source code to copy
install
inotifywait
on any operating system with
command-not-found.com