ClamAV – Open Source Antivirus for Windows and Linux

ClamAV is a free Open Source antivirus engine for detecting malware and virus. You can use it on Linux and Windows.

https://www.clamav.net/

To scan a file

clamscan FILE-NAME

To scan all files in /home folder.

clamscan --recursive=yes --infected /home
clamscan --recursive /home --no-mail --log=file -l /root/scan.txt

Posted in Linux