clamdscan Command Examples

Scan for viruses using the ClamAV Daemon. More information: https://docs.clamav.net/manual/Usage/Scanning.html#clamdscan.

clamdscan {{path/to/file_or_directory}}

{{command}} | clamdscan -

clamdscan --infected

clamdscan --log {{path/to/log_file}}

clamdscan --move {{path/to/quarantine_directory}}

clamdscan --remove

clamdscan --multiscan

clamdscan --fdpass