$ 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
4.
To test clamd
, start it and use clamdscan
(or connect directly
to its socket and run the SCAN command instead):
$ clamdscan -l scan.txt clamav-x.yzPlease note that the scanned files must be accessible by the user running
clamd
or you get an error.