在Linux系统中使用inotifywait监控文件变动
1、先安装EPEL安装源根据自己的系统选择相对应的包安港粕登漪装CentOS6/RHEL6#yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpmCentOS7/RHEL7#yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmCentOS8/RHEL8#yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

3、执行inotifywait命令确认是否安装成功# inotifywait -h
