in ,

scan server for viruses with ClamAV

Sed felis augue, dictum nec consectetur quis, elementum eu arcu. Nunc ornare arcu lacus, quis aliquet odio bibendum non. Nam vitae libero mauris. Suspendisse vitae purus ligula. Morbi sed diam eget dolor posuere convallis vel vel nisl. Nulla sagittis efficitur ex, at sodales massa pulvinar a. Nunc quis lacinia eros. Fusce ac ipsum gravida, tristique.

How do I scan server for viruses with ClamAV?


Hello friends here i am come with a tutorial to scan a server with CalmAV.

Here is installation and other command for linux.

To install CalmAV on linux / centos

Yum install CalmAV

For Update CalmAV use below command


By this command your virus definitions will update.

Install CalmAV via Terminal

sudo apt-get install clamav

Now you have to update the virus definitions with

sudo freshclam

Now both linux and ubuntu user use Below command to scan there server


Now you are ready to scan your server

clamscan options file/folder


To check all files on the computer, displaying the name of each file:

clamscan -r /

To check all files on the computer, but only display infected files and ring a bell when found:

clamscan -r --bell -i /

To check files in the all users home directories:

clamscan -r /home

To check files in the USER home directory and move infected files to another folder:

clamscan -r --move=/home/USER/VIRUS /home/USER

To check files in the USER home directory and remove infected files (WARNING: Files are gone.):

clamscan -r --remove /home/USER

To see more options:

clamscan --help

This is all we need to update scan and install of CalmAV on server.

Thank’s for reading our article .

What do you think?

0 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Leave a Reply

Your email address will not be published. Required fields are marked *