clamscan -r --infected /home/barry

Category: Security & Hardening

clamscan -r --infected /home/barry

Scan a directory tree for malware

Recursively scans /home/barry with ClamAV and prints only infected files thanks to --infected, reducing noise. ClamAV catches Windows malware, phishing payloads, and some Linux threats. Update virus definitions first with freshclam so the scan uses current signatures.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.