Please refer to https://askubuntu.com/questions/819265/bash-script-to-monitor-file-change-and-execute-command
never-displayed