Simple shell script
can anyone help me create a simple shell script
i have in the cron command 1 5 ***
but this command sent email even when grep "/ home" is null how sent email only when grep "/ home" is not null
find / usr / local / maldetect / sess /-name "clean *"-type f-mtime -1 | xargs grep "/ home" | mail-s "MALWARE report"
example @ email
but this command sent email even when grep "/ home" is null how sent email only when grep "/ home" is not null
-
why not just use the default maldet cron that takes care of all of that for you? 0
Please sign in to leave a comment.
Comments
1 comment