Page 1 of 1

Run ClamAV scan

Posted: Sat Sep 06, 2014 5:48 pm
by patstan
I have installed ClamAV on my server. How do i run it from the command line?

Re: Run ClamAV scan

Posted: Wed Sep 10, 2014 8:21 am
by patstan
Any updates @imperio ?

Re: Run ClamAV scan

Posted: Mon Sep 15, 2014 12:21 am
by raenk

Code: Select all

# clamscan <path to check>
I normally use the -ri options (recursive and show only infected) and if I don't need to do a manual check I add the --remove=yes to delete any infected file.

Code: Select all

# clamscan -ri --remove=yes <path to check>
To update the virus database run:

Code: Select all

# freshclam