BASH - F-Prot Scripts

Here are 2 scripts created for the AV software F-Prot,

FProt_scan  - Runs a scan on your system, you will need to enter you own path under the variable $path
FProt_mail - Emails you if a virus has bee found on your system, you will need to add your own email address to $email

After adding the scripts to crontab. Contrab should look like this,

0 3 * * * /usr/local/f-prot/tools/ -cron -quiet
0 4 * * * /home/localuser/scripts/ /dev/null 2>&1
0 5 * * * /home/localuser/scripts/ /dev/null 2>&1

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001