Commands to scan for virus using Clamav from SSH Root end :
The below command will scan the the mentioned directory "/home" and show the Result below but it will not generate any logs for check for Malware paths (You can change the directory /anything)
/usr/local/cpanel/3rdparty/bin/clamscan -r /home/
The below command will start the scan and create an Log file in the path /var/log/clamav-scan.log which will be used to check the malware path's :
/usr/local/cpanel/3rdparty/bin/clamscan -r /home/ >> /var/log/clamav-scan.log
0 comments:
Post a Comment