Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
up vote 8 down vote accepted

what about

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

Your Answer


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.