61b40ee3 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
73e034df |
|
61b40ee3 |
<!--Converted with LaTeX2HTML 2002-2-1 (1.71) |
73e034df |
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD> |
96e05490 |
<TITLE>Testing</TITLE>
<META NAME="description" CONTENT="Testing"> |
73e034df |
<META NAME="keywords" CONTENT="clamdoc">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
|
61b40ee3 |
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> |
73e034df |
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="clamdoc.css">
|
96e05490 |
<LINK REL="next" HREF="node22.html"> |
73e034df |
<LINK REL="previous" HREF="node20.html"> |
96e05490 |
<LINK REL="up" HREF="node17.html"> |
73e034df |
<LINK REL="next" HREF="node22.html">
</HEAD>
<BODY > |
61b40ee3 |
<DIV CLASS="navigation"><!--Navigation Panel--> |
ee93a07e |
<A NAME="tex2html466" |
73e034df |
HREF="node22.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> |
ee93a07e |
<A NAME="tex2html462" |
96e05490 |
HREF="node17.html"> |
73e034df |
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> |
ee93a07e |
<A NAME="tex2html456" |
73e034df |
HREF="node20.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> |
ee93a07e |
<A NAME="tex2html464" |
73e034df |
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR> |
ee93a07e |
<B> Next:</B> <A NAME="tex2html467" |
96e05490 |
HREF="node22.html">Setting up auto-updating</A> |
ee93a07e |
<B> Up:</B> <A NAME="tex2html463" |
96e05490 |
HREF="node17.html">Configuration</A> |
ee93a07e |
<B> Previous:</B> <A NAME="tex2html457" |
96e05490 |
HREF="node20.html">clamav-milter</A> |
ee93a07e |
<B> <A NAME="tex2html465" |
73e034df |
HREF="node1.html">Contents</A></B>
<BR> |
61b40ee3 |
<BR></DIV> |
73e034df |
<!--End of Navigation Panel-->
|
96e05490 |
<H2><A NAME="SECTION00053000000000000000">
Testing</A>
</H2>
Try to scan recursively the source directory: |
73e034df |
<PRE> |
96e05490 |
$ clamscan -r -l scan.txt clamav-x.yz |
73e034df |
</PRE> |
96e05490 |
It should find some test files in the clamav-x.yz/test directory.
The scan result will be saved in the <code>scan.txt</code> log file |
ee93a07e |
<A NAME="tex2html14"
HREF="footnode.html#foot199"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A>. |
96e05490 |
To test <code>clamd</code>, start it and use <code>clamdscan</code> (or instead connect
directly to its socket and run the SCAN command):
<PRE>
$ clamdscan -l scan.txt clamav-x.yz
</PRE>
Please note that the scanned files must be accessible by the user running
<code>clamd</code> or you will get an error.
|
73e034df |
<P>
<BR><HR>
<ADDRESS>
Tomasz Kojm |
a6b4b6af |
2008-10-30 |
73e034df |
</ADDRESS>
</BODY>
</HTML> |