$ clamscan -r -l scan.txt clamav-x.yzIt should find some test viruses in the clamav-x.yz/test directory. The scan result is saved in the scan.txt log file. 4. To test clamd: start it and use clamdscan (you can also connect directly to clamd and run the SCAN command):
$ clamdscan -l scan.txt clamav-x.yzThe output and the logfile should be similar to those of clamscan.