Keywords: clamdoc

Next: Setting up auto-updating Up: Configuration Previous: clamav-milter Contents

## Testing

Try to scan recursively the source directory:

    	$ clamscan -r -l scan.txt clamav-x.yz

It 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 instead connect directly to its socket and run the SCAN command):

    	$ clamdscan -l scan.txt clamav-x.yz

Please note that the scanned files must be accessible by the user running `clamd` or you will get an error.