[root@localhost ~]# clamscan /home/arun/ >> /home/arun/Desktop/infected.txt
[ clamscan -r /var/www/vhosts/selectcarkits.co.uk --infected > infected.txt ]
Will display the scan result in file infected.txt
clamscan -r -i mail –remove=yes —> Scan folder named “mail” and remove the infected files.
[ clamscan -r -i /home/UN/mail --move=/home/UN/infected/ ----> Scan folder named "mail" and move the infected files to /home/UN/infected/ ]
« Prev:Clamscan freshclam error Clamscan version:Next »