![Forrest logo](/images/logo.png)
clamscan:tldr:1d641
The command "clamscan --infected" is used to run a virus scan on a system using ClamAV antivirus software.
Here's a breakdown of the command:
-
"clamscan" is the name of the command that initiates the virus scan process with ClamAV. It is the primary executable file used by ClamAV to scan files and directories for malware infections.
-
"--infected" is an option or flag that is passed to the clamscan command. When this flag is used, clamscan will only display the files that are infected with viruses or malware.
By running this command, the system will undergo a scan specifically for infected files, and only the results of infected files will be displayed, rather than scanning and listing all files on the system. This can be useful in situations where you want to quickly identify and handle infected files without going through the entire scan report.