
Known viruses: 8607429 <= larger number confirms updates The clamscan report below includes some information that can help you see that updates are being made along with details on what the tool detected: $ sudo clamscan -infected -remove -recursive /home/nemo The numbers 2641 in the above output show the version of the signatures that allow clamscan to recognize the viruses while the version of the clamscan tool itself is 0.103.5. Run the same command the next day and the report should display updates: $ clamscan -versionĬlamAV 0.103.5/26471/Fri Mar 4 04:24:47 2022

To view version information, use the -v (or -version) option. It scans when you ask and otherwise remains dormant. It only removes them from the system or moves them to a specified location. Keep in mind that ClamAV does not disinfect files. In the command below, clamscan did not look at subdirectories, so it only scanned 39 files. Without the recursive option, clamscan would only look at the files in the specified directly, but not go any more deeply into the file system. The clamscan report also shows you how long it took to run along with both start and end times. $ clamscan -infected -remove -recursive /home/jdoe Without a file system location, clamscan will look through the current file system. As you can see, it took nearly half an hour to run, scanned 940 directories and nearly 34,000 files, but found no infected files.

You can also use the -d (or - deamon) option with freshclam. rvice loaded active running ClamAV virus database updater
