How to do it...

In this section, we will see how to use ClamAV to perform a scan; as per our requirements.

  1. As a first step, we will check the Help menu of the tool, to see the different options supported by ClamAV, as shown here:

  1. As seen in the following screenshot, ClamAV supports various options to be used during scanning:

  1. We will now start the scan on the /home directory, as shown here:

  1. Once the scan completes, it shows a scan summary ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.