#!/bin/bashfunmd5_1() {find /root/passwd -type f | xargs md5sum > /tmp/funmd5_1.log}funmd5_2() {find /root/passwd -type f | xargs md5sum > /tmp/funmd5_2.log}if [ ! -f /tmp/funmd5_1.log ];thenfunmd5_1fifunmd5_2diff /tmp/funmd5_1.log /tmp/funmd5_2.log > /tmp/diff.logStatus=$?if [ $Status = 0 ];thenexitelseecho "文件修改过了!"fi
新闻热点
疑难解答