ClamScan (Linux)

To scan the current folder, with it’s underlaying folders,  use the following command (only when clamav is installed):

clamscan --log=$HOME/clamscan.log --quiet --recursive

In your home directory, the file ‘clamscan.log’ will appear. You may execute the following command to view the (filtered) results:

grep -v "Empty\|Scanning\|WARNING:\|Excluded" $HOME/clamscan.log

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.