ClamAV scan from command line on whm server Print

  • 2

A - How to run clamscan to particular user account in cpanel server ?

/usr/local/cpanel/3rdparty/bin/clamscan -ri /home/user name/public_html

B-
How to run clamscan to all account in cpanel server ?

/usr/local/cpanel/3rdparty/bin/clamscan -ri /home

C-
How to run clamscan to public_html directory for all account in cpanel server ?



/usr/local/cpanel/3rdparty/bin/clamscan -ri /home/*/public_html


D-How to remove infected file while scanning itself ?



/usr/local/cpanel/3rdparty/bin/clamscan -ri --remove /home/*/public_html


or you can /home/domain user name /mail
To remove from mails


Support Departmnet
Webanchor.net




Was this answer helpful?

« Back

Powered by WHMCompleteSolution


["\r\n