Anti-Virus Scanning a Linux installation

ClamAV is a good tool for virus scanning linux workstations and servers.

It can be installed using the command:

sudo apt-get install clamav

The definitions can be updated with:

sudo freshclam

The whole system can be scanned using:

clamscan -r --bell -i /

This will only display infected files and rings a bell if any are found during the scan.

If lots of output is produced, or you need to store a log the output can be redirected to file…

clamscan -r --bell -i / > ~/scan.log

Leave a Reply

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