Forrest logo
back to the clamdscan tool

clamdscan:tldr:7dfc7

clamdscan: Scan the current directory and output only infected files.
$ clamdscan --infected
try on your machine

The command clamdscan --infected is used to scan files for malware or viruses using the ClamAV antivirus software.

Here's a breakdown of the different components:

  • clamdscan: This is the command used to invoke the ClamAV scanner. It is the main executable that scans files for viruses.
  • --infected: This option instructs ClamAV to only display the infected files it finds during the scan. It will provide a list of the filenames of the infected files, but not the specific details of the malware detected.

By running this command, you are telling ClamAV to scan files on your system and only show the names of the files that are infected with malware or viruses.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the clamdscan tool