Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result.

Now one of my folders on the pen drive is missing. I wanted to know if clamav deleted it.

So I want to view the last scan result.

share|improve this question
up vote 9 down vote accepted

There is no log file by default - the output goes to stdout.

In order to have a log specify it with the -l option i.e. -l clamav.log

share|improve this answer

simply create a file e.g. example01.txt with nautilus/file-manager then in terminal

clamscan <-parameter> >> example01.txt

share|improve this answer
Thanks for taking the time to reply, but at the time when I posted this thread, I had already executed the clamscan command and closed th terminal. So I was looking for the way to find it after running clamscan. Your suggested way works and I will keep that in mind next time! :-) – Abhijit Navale Nov 22 '12 at 16:42

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.