$ clamscan -r -l scan.txt clamav-x.yzIt should find some test files in the clamav-x.yz/test directory. The scan result will be saved in the
scan.txt
log file
8.
To test clamd
, start it and use clamdscan
(or instead connect
directly to its socket and run the SCAN command):
$ clamdscan -l scan.txt clamav-x.yzPlease note that the scanned files must be accessible by the user running
clamd
or you will get an error.