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
i have in the cron command 1 5 ***
Code:
find / usr / local / maldetect / sess /-name "clean *"-type f-mtime -1 | xargs grep "/ home" | mail-s "MALWARE report"
example @ email
even when grep "/ home" is null
how sent
email only when grep "/ home" is not null