Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Just like the title, is there any antivirus that i can run from command prompt on linux to make sure user uploaded files are virus free?

Thank you!

share|improve this question
1  
I'd add that technically, you can't be absolutely sure that the files are virus free, just that they don't match anything in the heuristic scan or signature database... –  Bart Silverstrim Apr 9 '10 at 11:31
add comment

1 Answer

up vote 8 down vote accepted

what about http://www.clamav.net/lang/en/

share|improve this answer
    
Agreed. Install ClamAV and then use clamscan utility –  lrosa Apr 9 '10 at 11:17
    
+1 for ClamAV. Used it in a mail server and worked very well, and was designed for mail servers so it works as a fast plugin to other applications that can call scripts. –  Bart Silverstrim Apr 9 '10 at 11:32
    
+1 Clamav is the weapon of choice here. –  Maxwell Apr 9 '10 at 13:02
    
Command prompt is OK, but a best practice is to run ClamAV automatically on all network writable partitions, such as Samba shares and FTP uploads. –  kmarsh Apr 9 '10 at 13:05
    
I thought clamav is more suitable for mail. It's good for normal files as well? –  Patrick Apr 10 '10 at 17:55
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.