21 April 2009

ClamAV - ClamScan

Command
clamscan -r --infected /home/e-smith/files/users

Scans the directory location /home/e-smith/files/users and all subdirectories and only reports infected files to the console. Does not remove any infections found.



Command
clamscan -r --infected --remove /home/e-smith/files/user

Scans the directory /home/e-smith/files/users and all subdirectories, reports only infected files to the console and removes infections found automatically.

No comments:

Post a Comment